Skip to content

Commit 2fea5f6

Browse files
bentitoperdasilva
andauthored
Err msg reads better
Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent 95145c6 commit 2fea5f6

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
@@ -103,7 +103,7 @@ func (h *Helm) runPreAuthorizationChecks(ctx context.Context, ext *ocv1.ClusterE
103103
}
104104
}
105105
slices.Sort(missingRuleDescriptions)
106-
preAuthErrors = append(preAuthErrors, fmt.Errorf("service account lacks permission to manage cluster extension:\n %s", strings.Join(missingRuleDescriptions, "\n ")))
106+
preAuthErrors = append(preAuthErrors, fmt.Errorf("service account requires the following permissions to manage cluster extension:\n %s", strings.Join(missingRuleDescriptions, "\n ")))
107107
}
108108
if authErr != nil {
109109
preAuthErrors = append(preAuthErrors, fmt.Errorf("authorization evaluation error: %w", authErr))

0 commit comments

Comments
 (0)