diff --git a/pkg/api/minioapi/definitions.go b/pkg/api/minioapi/definitions.go index bc1bbc63f..bdafe5ab6 100644 --- a/pkg/api/minioapi/definitions.go +++ b/pkg/api/minioapi/definitions.go @@ -34,8 +34,8 @@ type ObjectListResponse struct { MaxKeys int Delimiter string IsTruncated bool - Contents []*Item `xml:"",innerxml` - CommonPrefixes []*Prefix `xml:"",innerxml` + Contents []*Item + CommonPrefixes []*Prefix } // Bucket list response format @@ -44,7 +44,7 @@ type BucketListResponse struct { Owner Owner Buckets struct { Bucket []*Bucket - } `xml:"",innerxml` // Buckets are nested + } // Buckets are nested } type Prefix struct {