1
0
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:
Nedyalko Dyakov
2025-08-29 20:49:47 +03:00
parent 5bc071141a
commit 3c1b880e4a

View File

@@ -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())
}
}
}
}