From b69e07da7af2c8167e02585a723008fa2753f848 Mon Sep 17 00:00:00 2001
From: Dmitrii Stepanov <d.stepanov@yadro.com>
Date: Mon, 23 Sep 2024 09:02:00 +0300
Subject: [PATCH] [#1388] metrics: Mark nolint:unused metrics

Although these fields could be deleted, I annotated them so that all the
metrics used would be defined in one place.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
---
 internal/metrics/innerring.go | 3 ++-
 internal/metrics/node.go      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/internal/metrics/innerring.go b/internal/metrics/innerring.go
index f6b14a632..f3f529d05 100644
--- a/internal/metrics/innerring.go
+++ b/internal/metrics/innerring.go
@@ -17,7 +17,8 @@ type InnerRingServiceMetrics struct {
 	eventDuration     *prometheus.HistogramVec
 	morphCacheMetrics *morphCacheMetrics
 	logMetrics        logger.LogMetrics
-	appInfo           *ApplicationInfo
+	// nolint: unused
+	appInfo *ApplicationInfo
 }
 
 // NewInnerRingMetrics returns new instance of metrics collectors for inner ring.
diff --git a/internal/metrics/node.go b/internal/metrics/node.go
index d9e401446..711387875 100644
--- a/internal/metrics/node.go
+++ b/internal/metrics/node.go
@@ -25,7 +25,8 @@ type NodeMetrics struct {
 	morphClient   *morphClientMetrics
 	morphCache    *morphCacheMetrics
 	log           logger.LogMetrics
-	appInfo       *ApplicationInfo
+	// nolint: unused
+	appInfo *ApplicationInfo
 }
 
 func NewNodeMetrics() *NodeMetrics {