mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-06 01:17:09 +00:00
Fix: addon function converted (#4411)
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user