From 54845b63c088c98558d209961b347c9bd399782a Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 15 Apr 2021 16:23:39 +0530 Subject: [PATCH] cleanup: better or corrected variable name in grpc prometheous code Signed-off-by: Humble Chirammal --- internal/csi-common/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/csi-common/server.go b/internal/csi-common/server.go index 330210bab..a17daa153 100644 --- a/internal/csi-common/server.go +++ b/internal/csi-common/server.go @@ -148,8 +148,8 @@ func (s *nonBlockingGRPCServer) serve(endpoint, hstOptions string, srv Servers, klog.Fatalf("failed to parse histogram count value: %v", e) } buckets := prometheus.ExponentialBuckets(start, factor, count) - bktOptios := grpc_prometheus.WithHistogramBuckets(buckets) - grpc_prometheus.EnableHandlingTimeHistogram(bktOptios) + bktOptions := grpc_prometheus.WithHistogramBuckets(buckets) + grpc_prometheus.EnableHandlingTimeHistogram(bktOptions) grpc_prometheus.Register(server) } err = server.Serve(listener)