From 40c43bcc401302b8111396d5d21c3e4e78f1e9b2 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Wed, 23 Oct 2024 18:45:20 -0400 Subject: [PATCH] update error message for repeated installation status failures (#1390) --- operator/pkg/upgrade/installation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/pkg/upgrade/installation.go b/operator/pkg/upgrade/installation.go index 27cec3226..ed9bf79df 100644 --- a/operator/pkg/upgrade/installation.go +++ b/operator/pkg/upgrade/installation.go @@ -54,7 +54,7 @@ func setInstallationState(ctx context.Context, cli client.Client, name string, s return nil }) if err != nil { - return fmt.Errorf("failed to set installation state after 5 attempts %w", err) + return fmt.Errorf("persistent conflict error, failed to update installation %s status: %w", name, err) } return nil