From 2121b78ea7aeb870567f9cb291feff3cef83f968 Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Wed, 3 May 2017 20:10:00 -0700 Subject: [PATCH] Fix bug in JSON representation of object properties (#4238) Introduced in #4003 --- cmd/bucket-notification-datatypes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bucket-notification-datatypes.go b/cmd/bucket-notification-datatypes.go index 3be763e37..8398da11f 100644 --- a/cmd/bucket-notification-datatypes.go +++ b/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"` }