Skip to content

Commit

Permalink
Add no-op to satisfy linter
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Tofel <[email protected]>
  • Loading branch information
bentito committed Jan 30, 2025
1 parent 16bbc66 commit 2b92859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/applier/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (h *Helm) getReleaseState(cl helmclient.ActionInterface, ext *ocv1.ClusterE
}, helmclient.AppendInstallPostRenderer(post))
if err != nil {
if features.OperatorControllerFeatureGate.Enabled(features.PreflightPermissions) {
_ = struct{}{} // minimal no-op to satisfy linter
// probably need to break out this error as it's the one for helm dry-run as opposed to any returned later
}
return nil, nil, StateError, err
Expand Down

0 comments on commit 2b92859

Please sign in to comment.