From 6dd54f7d42082b99f6d74db0495fa33f5300f35e Mon Sep 17 00:00:00 2001 From: Miguel Angel Rojo Fernandez Date: Mon, 13 Jan 2025 15:46:25 +0000 Subject: [PATCH] linter --- chain/metrics.go | 6 +++--- state/metrics.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chain/metrics.go b/chain/metrics.go index f0684e073..6b17fd913 100644 --- a/chain/metrics.go +++ b/chain/metrics.go @@ -8,8 +8,8 @@ package chain import "github.com/vechain/thor/v2/metrics" var ( - metricCacheHitMiss = metrics.LazyLoadGaugeVec("repo_cache_hit_miss_count", []string{"type", "event"}) - metricBlockRepositoryCounter = metrics.LazyLoadCounterVec("block_repository_count", []string{"type", "target"}) + metricCacheHitMiss = metrics.LazyLoadGaugeVec("repo_cache_hit_miss_count", []string{"type", "event"}) + metricBlockRepositoryCounter = metrics.LazyLoadCounterVec("block_repository_count", []string{"type", "target"}) metricTransactionRepositoryCounter = metrics.LazyLoadCounterVec("transaction_repository_count", []string{"type", "target"}) - metricReceiptRepositoryCounter = metrics.LazyLoadCounterVec("receipt_repository_count", []string{"type", "target"}) + metricReceiptRepositoryCounter = metrics.LazyLoadCounterVec("receipt_repository_count", []string{"type", "target"}) ) diff --git a/state/metrics.go b/state/metrics.go index 6ddfd4af7..b40edd98c 100644 --- a/state/metrics.go +++ b/state/metrics.go @@ -7,4 +7,4 @@ package state import "github.com/vechain/thor/v2/metrics" -var metricAccountCounter = metrics.LazyLoadCounterVec("account_state_count", []string{"type", "target"}) \ No newline at end of file +var metricAccountCounter = metrics.LazyLoadCounterVec("account_state_count", []string{"type", "target"})