Merge pull request #252 from fkautz/pr_out_fixing_xml_tags

Fixing xml tags
master
Frederick F. Kautz IV 10 years ago
commit 5155b2f124
  1. 6
      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 `xml:"",innerxml`
CommonPrefixes []*Prefix `xml:"",innerxml`
}
// Bucket list response format
@ -44,7 +44,7 @@ type BucketListResponse struct {
Owner Owner
Buckets struct {
Bucket []*Bucket
} `xml:,innerxml` // Buckets are nested
} `xml:"",innerxml` // Buckets are nested
}
type Prefix struct {

Loading…
Cancel
Save