mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05: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:"-"`
|
||||
Code string
|
||||
Message string
|
||||
Key string
|
||||
BucketName string
|
||||
Key string `xml:"Key,omitempty" json:"Key,omitempty"`
|
||||
BucketName string `xml:"BucketName,omitempty" json:"BucketName,omitempty"`
|
||||
Resource string
|
||||
RequestID string `xml:"RequestId" json:"RequestId"`
|
||||
HostID string `xml:"HostId" json:"HostId"`
|
||||
|
Loading…
Reference in New Issue
Block a user