Fix bug in JSON representation of object properties (#4238)

Introduced in #4003
master
Aditya Manthramurthy 8 years ago committed by Harshavardhana
parent 5016649f47
commit 2121b78ea7
  1. 4
      cmd/bucket-notification-datatypes.go

@ -139,8 +139,8 @@ type objectMeta struct {
Key string `json:"key"`
Size int64 `json:"size,omitempty"`
ETag string `json:"eTag,omitempty"`
ContentType string `json:"contentType:omitempty"`
UserDefined map[string]string `json:"userDefined:omitempty"`
ContentType string `json:"contentType,omitempty"`
UserDefined map[string]string `json:"userDefined,omitempty"`
VersionID string `json:"versionId,omitempty"`
Sequencer string `json:"sequencer"`
}

Loading…
Cancel
Save