Add output indicating success for restore channel command (#13802)
Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
376ec9e0e3
Коммит
146afedd51
@@ -482,6 +482,11 @@ func restoreChannelsCmdF(command *cobra.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
suffix := ""
|
||||||
|
if len(channels) > 1 {
|
||||||
|
suffix = "s"
|
||||||
|
}
|
||||||
|
CommandPrintln("Successfully restored channel" + suffix)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user