Use one http response recorder per external http call (#16938)

This commit is contained in:
Anis Eleuch authored and GitHub committed 2023-03-31 09:37:29 -07:00
1 parent 216a471bbb
commit d90d0c8931
5 files changed
+32 -21

No files matched your search

+1 -1
View File
@@ -1004,7 +1004,7 @@ func replicateObject(ctx context.Context, ri ReplicateObjectInfo, objectAPI Obje
},
}
_, _ = objectAPI.PutObjectMetadata(ctx, bucket, object, popts);
_, _ = objectAPI.PutObjectMetadata(ctx, bucket, object, popts)
opType := replication.MetadataReplicationType
if rinfos.Action() == replicateAll {
opType = replication.ObjectReplicationType