From b910904fa6c9acea8fac376f47ee0dff41db4601 Mon Sep 17 00:00:00 2001 From: Poorna Date: Wed, 14 Sep 2022 13:49:13 -0700 Subject: [PATCH] change replication stats save path for windows (#15690) --- cmd/bucket-replication-utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/bucket-replication-utils.go b/cmd/bucket-replication-utils.go index 55b58dc2a..105b7dfb2 100644 --- a/cmd/bucket-replication-utils.go +++ b/cmd/bucket-replication-utils.go @@ -768,7 +768,8 @@ func (ri ReplicateObjectInfo) ToMRFEntry() MRFReplicateEntry { } func getReplicationStatsPath(nodeName string) string { - return bucketMetaPrefix + SlashSeparator + replicationDir + SlashSeparator + nodeName + ".stats" + nodeStr := strings.ReplaceAll(nodeName, ":", "_") + return bucketMetaPrefix + SlashSeparator + replicationDir + SlashSeparator + nodeStr + ".stats" } const (