1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

fix(lint): make linter happy

This commit is contained in:
Nedyalko Dyakov
2025-06-17 14:12:57 +03:00
parent 49c07d1161
commit 2d9baf0ae1

View File

@ -462,7 +462,7 @@ func (n *clusterNode) Loading() bool {
err := n.Client.Ping(ctx).Err()
loading := err != nil && isLoadingError(err)
if loading == false {
if !loading {
atomic.StoreUint32(&n.loaded, 1)
}
return loading