From 0fe4319e170ac405901b7c4bbe674d55c6a02132 Mon Sep 17 00:00:00 2001 From: kannappanr <30541348+kannappanr@users.noreply.github.com> Date: Thu, 5 Apr 2018 13:19:16 -0700 Subject: [PATCH] Fix display message when list and remove notifications are called (#2424) --- cmd/events-list.go | 2 +- cmd/events-remove.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/events-list.go b/cmd/events-list.go index d2e390e3..f558b73d 100644 --- a/cmd/events-list.go +++ b/cmd/events-list.go @@ -122,7 +122,7 @@ func mainEventsList(ctx *cli.Context) error { } configs, err := s3Client.ListNotificationConfigs(arn) - fatalIf(err, "Cannot enable notification on the specified bucket.") + fatalIf(err, "Cannot list notifications on the specified bucket.") for _, config := range configs { printMsg(eventsListMessage{Events: config.Events, diff --git a/cmd/events-remove.go b/cmd/events-remove.go index c9417f95..e35da3d9 100644 --- a/cmd/events-remove.go +++ b/cmd/events-remove.go @@ -113,7 +113,7 @@ func mainEventsRemove(ctx *cli.Context) error { } err = s3Client.RemoveNotificationConfig(arn) - fatalIf(err, "Cannot enable notification on the specified bucket.") + fatalIf(err, "Cannot disable notification on the specified bucket.") printMsg(eventsRemoveMessage{ARN: arn}) return nil