mirror of https://github.com/minio/minio.git
add copyobject tagging replace directive for gateway (#9711)
This commit is contained in:
parent
4a007e3767
commit
9d39fb3604
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in New Issue