Unverified Commit b596b70e authored by Jianbo Sun's avatar Jianbo Sun Committed by GitHub
Browse files

Fix: addon function converted (#4411)

Signed-off-by: default avatarJianbo Sun <jianbo.sjb@alibaba-inc.com>
Showing with 2 additions and 2 deletions
+2 -2
......@@ -735,10 +735,10 @@ func waitApplicationRunning(k8sClient client.Client, addonName string) error {
case common2.ApplicationRunning:
return nil
case common2.ApplicationWorkflowSuspending:
fmt.Printf("Enabling suspend, please run \"vela workflow resume %s -n vela-system\" to continue", addonutil.Addon2AppName(addonName))
fmt.Printf("Enabling suspend, please run \"vela workflow resume %s -n vela-system\" to continue", pkgaddon.Convert2AppName(addonName))
return nil
case common2.ApplicationWorkflowTerminated:
return errors.Errorf("Enabling failed, please run \"vela status %s -n vela-system\" to check the status of the addon", addonutil.Addon2AppName(addonName))
return errors.Errorf("Enabling failed, please run \"vela status %s -n vela-system\" to check the status of the addon", pkgaddon.Convert2AppName(addonName))
default:
}
timeConsumed := int(time.Since(start).Seconds())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment