From c07d48e7e83e222273370e68b062fff4d7db429f Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 1 Jun 2015 12:19:23 -0700 Subject: [PATCH] ErrorResponse from minio server needed proper xml translations --- pkg/api/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/errors.go b/pkg/api/errors.go index 29a179451..7879a18ba 100644 --- a/pkg/api/errors.go +++ b/pkg/api/errors.go @@ -34,8 +34,8 @@ type ErrorResponse struct { Code string Message string Resource string - RequestID string - HostID string + RequestID string `xml:"RequestId"` + HostID string `xml:"HostId"` } // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html