X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8991b43990aa7a77edd78f165114b93a6a207985..79bce4a71a58118a9003882e0ca9bbfb9d2957a9:/services/keep-web/s3.go?ds=sidebyside diff --git a/services/keep-web/s3.go b/services/keep-web/s3.go index 4e8028ae6e..52cfede466 100644 --- a/services/keep-web/s3.go +++ b/services/keep-web/s3.go @@ -358,6 +358,11 @@ func (h *handler) s3list(w http.ResponseWriter, r *http.Request, fs arvados.Cust // CommonPrefixes is nil, which confuses some clients. // Fix by using this nested struct instead. CommonPrefixes []commonPrefix + // Similarly, we need omitempty here, because an empty + // tag confuses some clients (e.g., + // github.com/aws/aws-sdk-net never terminates its + // paging loop). + NextMarker string `xml:"NextMarker,omitempty"` } resp := listResp{ ListResp: s3.ListResp{