mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
add copyobject tagging replace directive for gateway (#9711)
This commit is contained in:
@@ -1076,6 +1076,9 @@ func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Re
|
||||
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL, guessIsBrowserReq(r))
|
||||
return
|
||||
}
|
||||
if globalIsGateway {
|
||||
srcInfo.UserDefined[xhttp.AmzTagDirective] = replaceDirective
|
||||
}
|
||||
}
|
||||
|
||||
if objTags != "" {
|
||||
|
||||
Reference in New Issue
Block a user