mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
fix: use the right channel to feed the data in (#18605)
this PR fixes a regression in batch replication where we weren't sending any data from the Walk() results due to incorrect channels being used.
This commit is contained in:
@@ -1311,9 +1311,8 @@ func (c Config) getTargetKVS(subSys, target string, redactSecrets bool) KVS {
|
||||
// clonedKV := kv
|
||||
// clonedKV.Value = redactedSecret
|
||||
// resultKVS = append(resultKVS, clonedKV)
|
||||
} else {
|
||||
resultKVS = append(resultKVS, kv)
|
||||
}
|
||||
resultKVS = append(resultKVS, kv)
|
||||
}
|
||||
|
||||
return resultKVS
|
||||
|
||||
Reference in New Issue
Block a user