update upgrade query (#7567)
This commit is contained in:
@@ -47,7 +47,7 @@ func GetCurrentPlanCmd() *cobra.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if len(res.Plan.Name) == 0 {
|
||||
if res.Plan == nil {
|
||||
return fmt.Errorf("no upgrade scheduled")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user