From 0e48ac19e92ebed9114a21432711f24252a01500 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Thu, 2 Dec 2021 22:53:40 +0800 Subject: [PATCH] [skip ci]Fix golint for isOnline (#12664) Signed-off-by: xige-16 --- internal/querycoord/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/querycoord/cluster.go b/internal/querycoord/cluster.go index 60690b9a0..64c847bb4 100644 --- a/internal/querycoord/cluster.go +++ b/internal/querycoord/cluster.go @@ -726,7 +726,7 @@ func (c *queryNodeCluster) isOnline(nodeID int64) (bool, error) { return node.isOnline(), nil } - return false, fmt.Errorf("IsOnline: query node %d not exist", nodeID) + return false, fmt.Errorf("isOnline: query node %d not exist", nodeID) } //func (c *queryNodeCluster) printMeta() { -- GitLab