update upgrade query (#7567)

This commit is contained in:
SaReN
2020-10-15 19:02:45 +00:00
committed by GitHub
parent c735a8eb81
commit 332d8ec038
+1 -1
View File
@@ -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")
}