Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2020-03-19 11:19:22 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2020-03-19 11:19:22 +0300
commitf77a95c8e3b8f622dea56d5809b872064fd42694 (patch)
tree8c5bf167a018b4b9cb007d9311cf979de72086d3
parentcebae6a62a55cfa30ced29b950b8a32626278e78 (diff)
praefect: Remove unused field in the Mgr struct
The Mgr struct in praefect/nodes has an unused field for the note latency histogram. As we're keeping track of it for each connection status already, this field is never used. Remove it to fix the linter complaining.
-rw-r--r--internal/praefect/nodes/manager.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/praefect/nodes/manager.go b/internal/praefect/nodes/manager.go
index 7952233fb..19bf6eef8 100644
--- a/internal/praefect/nodes/manager.go
+++ b/internal/praefect/nodes/manager.go
@@ -75,7 +75,6 @@ type Mgr struct {
// VirtualStorages
failoverEnabled bool
log *logrus.Entry
- nodeLatencyHist metrics.HistogramVec
}
// ErrPrimaryNotHealthy indicates the primary of a shard is not in a healthy state and hence