Skip to content

Commit

Permalink
Merge pull request minio#252 from fkautz/pr_out_fixing_xml_tags
Browse files Browse the repository at this point in the history
Fixing xml tags
  • Loading branch information
Frederick F. Kautz IV committed Mar 4, 2015
2 parents 4bdfe61 + 6f78406 commit 5155b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/api/minioapi/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 5155b2f

Please sign in to comment.