update upgrade query (#7567)
This commit is contained in:
parent
c735a8eb81
commit
332d8ec038
@ -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")
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user