From 24af2222c9b9116d595a8b4b9fd27998b202eaa7 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Tue, 5 May 2015 12:54:34 -0700 Subject: [PATCH] Adding xmlns --- pkg/api/api_definitions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/api_definitions.go b/pkg/api/api_definitions.go index d99d21089..c30c164b1 100644 --- a/pkg/api/api_definitions.go +++ b/pkg/api/api_definitions.go @@ -27,7 +27,7 @@ const ( // ListObjectsResponse - format for list objects response type ListObjectsResponse struct { - XMLName xml.Name `xml:"ListBucketResult" json:"-"` + XMLName xml.Name `xml:"http://doc.s3.amazonaws.com/2006-03-01 ListBucketResult" json:"-"` Name string Prefix string Marker string @@ -40,7 +40,7 @@ type ListObjectsResponse struct { // ListBucketsResponse - format for list buckets response type ListBucketsResponse struct { - XMLName xml.Name `xml:"ListAllMyBucketsResult" json:"-"` + XMLName xml.Name `xml:"http://doc.s3.amazonaws.com/2006-03-01 ListAllMyBucketsResult" json:"-"` Owner Owner Buckets struct { Bucket []*Bucket