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:
@ -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
|
||||
|
Reference in New Issue
Block a user