We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab8cfbc commit dc6691dCopy full SHA for dc6691d
internal/operator-controller/authorization/rbac.go
@@ -72,7 +72,7 @@ func NewRBACPreAuthorizer(cl client.Client) PreAuthorizer {
72
// the list (or slice) of missing rules. Note that in some cases the error may encapsulate multiple
73
// evaluation failures
74
func (a *rbacPreAuthorizer) PreAuthorize(ctx context.Context, ext *ocv1.ClusterExtension, manifestReader io.Reader) ([]ScopedPolicyRules, error) {
75
- var allMissingPolicyRules = []ScopedPolicyRules{}
+ var allMissingPolicyRules []ScopedPolicyRules
76
dm, err := a.decodeManifest(manifestReader)
77
if err != nil {
78
return nil, err
0 commit comments