mirror of
https://github.com/redis/go-redis.git
synced 2025-09-04 09:22:10 +03:00
fix linter
This commit is contained in:
@@ -179,11 +179,11 @@ func (hm *HitlessManager) UntrackOperationWithConnID(seqID int64, connID uint64)
|
||||
// Decrement active operation count only if operation existed
|
||||
hm.activeOperationCount.Add(-1)
|
||||
} else {
|
||||
for key, _ := range hm.GetActiveMovingOperations() {
|
||||
internal.Logger.Printf(context.Background(), "hitless: active op: key: %s", key.String())
|
||||
}
|
||||
if hm.config.LogLevel >= LogLevelDebug { // Debug level
|
||||
internal.Logger.Printf(context.Background(), "hitless: conn[%d] seqID[%d] Operation not found for untracking: %s", connID, seqID, key.String())
|
||||
for key := range hm.GetActiveMovingOperations() {
|
||||
internal.Logger.Printf(context.Background(), "hitless: active op: key: %s", key.String())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user