mirror of
https://github.com/minio/minio.git
synced 2025-04-22 11:26:36 -04:00
Do not set Key and BucketName in ErrorResponse, if empty (#6174)
This commit is contained in:
parent
f1be356cc6
commit
2cd14f567c
@ -40,8 +40,8 @@ type APIErrorResponse struct {
|
|||||||
XMLName xml.Name `xml:"Error" json:"-"`
|
XMLName xml.Name `xml:"Error" json:"-"`
|
||||||
Code string
|
Code string
|
||||||
Message string
|
Message string
|
||||||
Key string
|
Key string `xml:"Key,omitempty" json:"Key,omitempty"`
|
||||||
BucketName string
|
BucketName string `xml:"BucketName,omitempty" json:"BucketName,omitempty"`
|
||||||
Resource string
|
Resource string
|
||||||
RequestID string `xml:"RequestId" json:"RequestId"`
|
RequestID string `xml:"RequestId" json:"RequestId"`
|
||||||
HostID string `xml:"HostId" json:"HostId"`
|
HostID string `xml:"HostId" json:"HostId"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user