Skip to content

Commit 2d9baf0

Browse files
committed
fix(lint): make linter happy
1 parent 49c07d1 commit 2d9baf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osscluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ func (n *clusterNode) Loading() bool {
462462

463463
err := n.Client.Ping(ctx).Err()
464464
loading := err != nil && isLoadingError(err)
465-
if loading == false {
465+
if !loading {
466466
atomic.StoreUint32(&n.loaded, 1)
467467
}
468468
return loading

0 commit comments

Comments
 (0)