From 43e6d1ce2d4fd358e100fabad84070d941e02692 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 13 Aug 2020 16:31:58 -0700 Subject: [PATCH] fix: missing proxy request by bucket for ListVersions (#10260) --- cmd/bucket-listobjects-handlers.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/bucket-listobjects-handlers.go b/cmd/bucket-listobjects-handlers.go index 2c50898b4..c84d58658 100644 --- a/cmd/bucket-listobjects-handlers.go +++ b/cmd/bucket-listobjects-handlers.go @@ -89,6 +89,10 @@ func (api objectAPIHandlers) ListObjectVersionsHandler(w http.ResponseWriter, r return } + if proxyRequestByBucket(ctx, w, r, bucket) { + return + } + listObjectVersions := objectAPI.ListObjectVersions // Inititate a list object versions operation based on the input params.