From ea4afb201bf2f1ff946ff18720b0cbd98ccace02 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 18 Nov 2020 01:35:22 +0200 Subject: [PATCH] app/vmselect/netstorage: typo fix in a comment inside SearchMetricNames func --- app/vmselect/netstorage/netstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmselect/netstorage/netstorage.go b/app/vmselect/netstorage/netstorage.go index 734726b69e..92f3837ef4 100644 --- a/app/vmselect/netstorage/netstorage.go +++ b/app/vmselect/netstorage/netstorage.go @@ -1270,7 +1270,7 @@ func SearchMetricNames(at *auth.Token, denyPartialResponse bool, sq *storage.Sea metricNames := make(map[string]struct{}) for i := 0; i < len(storageNodes); i++ { // There is no need in timer here, since all the goroutines executing - // sn.processSearchQuery must be finished until the deadline. + // sn.processSearchMetricNames must be finished until the deadline. nr := <-resultsCh if nr.err != nil { errors = append(errors, nr.err)