add service rm CLI command

This commit is contained in:
Pavel Sviderski committed 2024-12-05 17:32:30 +10:00
1 parent 1fb8a3d7a0
commit f85b5dd01d
7 files changed
+60 -8

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ func NewRunCommand() *cobra.Command {
opts.command = args[1:]
}
return runRun(cmd.Context(), uncli, opts)
return run(cmd.Context(), uncli, opts)
},
}
@@ -61,7 +61,7 @@ func NewRunCommand() *cobra.Command {
return cmd
}
func runRun(ctx context.Context, uncli *cli.CLI, opts runOptions) error {
func run(ctx context.Context, uncli *cli.CLI, opts runOptions) error {
switch opts.mode {
case "", api.ServiceModeReplicated, api.ServiceModeGlobal:
default: