From 5fb4c4fad6d5770f124842d3fcaca8f568f56e9f Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 13 Jul 2021 17:46:32 +0300 Subject: [PATCH] [#155] Fixed empty delimiter response Signed-off-by: Denis Kirillov --- api/handler/response.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/handler/response.go b/api/handler/response.go index 42f2e55..b57a7a0 100644 --- a/api/handler/response.go +++ b/api/handler/response.go @@ -33,7 +33,7 @@ type ListObjectsV2Response struct { KeyCount int MaxKeys int - Delimiter string + Delimiter string `xml:"Delimiter,omitempty"` // A flag that indicates whether or not ListObjects returned all of the results // that satisfied the search criteria. IsTruncated bool @@ -75,7 +75,7 @@ type ListObjectsResponse struct { NextMarker string `xml:"NextMarker,omitempty"` MaxKeys int - Delimiter string + Delimiter string `xml:"Delimiter,omitempty"` // A flag that indicates whether or not ListObjects returned all of the results // that satisfied the search criteria. IsTruncated bool