diff --git a/references/cli/addon.go b/references/cli/addon.go index 96fbe7966..a838127fd 100644 --- a/references/cli/addon.go +++ b/references/cli/addon.go @@ -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())