Fix display message when list and remove notifications are called (#2424)

This commit is contained in:
kannappanr
2018-04-05 13:19:16 -07:00
committed by GitHub
parent 18ddd3925b
commit 0fe4319e17
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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