Skip to content

Commit 1513098

Browse files
committed
(pre-flight check) Improve error message
The line "failed to get release state using client-only dry-run" is too jargon heavy, and meaningless for the end user. This PR replaces the error message with a more user friendly text.
1 parent 8f81c23 commit 1513098

File tree

1 file changed

+1
-1
lines changed
  • internal/operator-controller/applier

1 file changed

+1
-1
lines changed

internal/operator-controller/applier/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (h *Helm) Apply(ctx context.Context, contentFS fs.FS, ext *ocv1.ClusterExte
145145

146146
rel, desiredRel, state, err := h.getReleaseState(ac, ext, chrt, values, post)
147147
if err != nil {
148-
return nil, "", fmt.Errorf("failed to get release state using server-side dry-run: %w", err)
148+
return nil, "", fmt.Errorf("error rendering bundle for pre-authorization checks: %w", err)
149149
}
150150

151151
for _, preflight := range h.Preflights {

0 commit comments

Comments
 (0)