From 14d48c9267b3e6456ea43d095e811f8a1af43fd3 Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:42:05 +0800 Subject: [PATCH] [release-4.1] fix typo (#1965) (#6173) fix typo (#1965) Co-authored-by: inksnw --- pkg/controller/application/apprelease_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/application/apprelease_controller.go b/pkg/controller/application/apprelease_controller.go index ddaa256e0..98cb5008b 100644 --- a/pkg/controller/application/apprelease_controller.go +++ b/pkg/controller/application/apprelease_controller.go @@ -265,12 +265,12 @@ func (r *AppReleaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) if strings.Contains(release.Info.Description, "context deadline exceeded") && reCheck < timeoutMaxRecheck { if apprls.Status.State != appv2.StatusTimeout { - err = r.updateStatus(ctx, apprls, appv2.StatusTimeout, "install time out") + err = r.updateStatus(ctx, apprls, appv2.StatusTimeout, "Installation timeout") if err != nil { klog.Errorf("failed to update apprelease %s status : %v", apprls.Name, err) return ctrl.Result{}, err } - klog.Infof("install time out, will check status again after %d second", timeoutVerificationAgain) + klog.Infof("Installation timeout, will check status again after %d second", timeoutVerificationAgain) return ctrl.Result{RequeueAfter: timeoutVerificationAgain * time.Second}, nil }