mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Revert "WIP New ros cli"
This commit is contained in:
3
cmd/control/console.go
Executable file → Normal file
3
cmd/control/console.go
Executable file → Normal file
@@ -66,7 +66,7 @@ func consoleSwitch(c *cli.Context) error {
|
||||
1. destroy the current console container
|
||||
2. log you out
|
||||
3. restart Docker`)
|
||||
if !util.Yes("Continue") {
|
||||
if !yes("Continue") {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
@@ -111,7 +111,6 @@ func consoleEnable(c *cli.Context) error {
|
||||
cfg := config.LoadConfig()
|
||||
validateConsole(newConsole, cfg)
|
||||
|
||||
//TODO: why does default not need to be staged?
|
||||
if newConsole != "default" {
|
||||
if err := compose.StageServices(cfg, newConsole); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user