mirror of
https://github.com/rancher/os.git
synced 2025-09-08 18:20:32 +00:00
Add prompt message to ros os upgrade
This commit is contained in:
@@ -185,6 +185,10 @@ func osUpgrade(c *cli.Context) error {
|
||||
log.Fatalf("ros install / upgrade only supported on 'amd64', not '%s'", runtime.GOARCH)
|
||||
}
|
||||
|
||||
if isExist := checkGlobalCfg(); !isExist {
|
||||
log.Fatalf("ros upgrade cannot be supported")
|
||||
}
|
||||
|
||||
image := c.String("image")
|
||||
|
||||
if image == "" {
|
||||
|
Reference in New Issue
Block a user