diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-03-19 11:19:22 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-03-19 11:19:22 +0300 |
commit | f77a95c8e3b8f622dea56d5809b872064fd42694 (patch) | |
tree | 8c5bf167a018b4b9cb007d9311cf979de72086d3 | |
parent | cebae6a62a55cfa30ced29b950b8a32626278e78 (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.go | 1 |
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 |