diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-07-10 17:49:26 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-07-10 08:49:26 -0700 |
commit | 6330f7f6377a4a8af956399ed299300f3d98a7a6 (patch) | |
tree | a8b29ea5bfcb3b009a97600c866511a5ac353cdc /cmd/platform/channel.go | |
parent | 998b8f70c2d88151b080657dea1ce0b9aca36d58 (diff) | |
download | chat-6330f7f6377a4a8af956399ed299300f3d98a7a6.tar.gz chat-6330f7f6377a4a8af956399ed299300f3d98a7a6.tar.bz2 chat-6330f7f6377a4a8af956399ed299300f3d98a7a6.zip |
fix wording (#6640)
Diffstat (limited to 'cmd/platform/channel.go')
-rw-r--r-- | cmd/platform/channel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/platform/channel.go b/cmd/platform/channel.go index 53daf0f9a..0ff2a1b5f 100644 --- a/cmd/platform/channel.go +++ b/cmd/platform/channel.go @@ -231,7 +231,7 @@ func archiveChannelsCmdF(cmd *cobra.Command, args []string) error { } if len(args) < 1 { - return errors.New("Enter at least one channel to delete.") + return errors.New("Enter at least one channel to archive.") } channels := getChannelsFromChannelArgs(args) @@ -241,7 +241,7 @@ func archiveChannelsCmdF(cmd *cobra.Command, args []string) error { continue } if result := <-app.Srv.Store.Channel().Delete(channel.Id, model.GetMillis()); result.Err != nil { - CommandPrintErrorln("Unable to delete channel '" + channel.Name + "' error: " + result.Err.Error()) + CommandPrintErrorln("Unable to archive channel '" + channel.Name + "' error: " + result.Err.Error()) } } |