mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-09 06:35:03 +00:00
add service rm CLI command
This commit is contained in:
1 parent
1fb8a3d7a0
commit
f85b5dd01d
7 files changed
+60
-8
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user