mirror of
https://github.com/minio/minio
synced 2024-11-05 17:34:01 +00:00
adding a missing return case to fix GetObjectTagging (#18793)
This commit is contained in:
parent
38637897ba
commit
30bd5e2669
1 changed files with 3 additions and 0 deletions
|
@ -3318,6 +3318,9 @@ func (api objectAPIHandlers) GetObjectTaggingHandler(w http.ResponseWriter, r *h
|
|||
} // overlay tags from peer site.
|
||||
ot = tags
|
||||
w.Header()[xhttp.MinIOTaggingProxied] = []string{"true"} // indicate that the request was proxied.
|
||||
} else {
|
||||
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
|
||||
|
|
Loading…
Reference in a new issue