Skip to content

Commit 3f0e21b

Browse files
committed
Add no-op to satisfy linter
Signed-off-by: Brett Tofel <[email protected]>
1 parent dab8bbb commit 3f0e21b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/applier/helm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ func (h *Helm) getReleaseState(cl helmclient.ActionInterface, ext *ocv1.ClusterE
162162
}, helmclient.AppendInstallPostRenderer(post))
163163
if err != nil {
164164
if features.OperatorControllerFeatureGate.Enabled(features.PreflightPermissions) {
165+
_ = struct{}{} // minimal no-op to satisfy linter
165166
// probably need to break out this error as it's the one for helm dry-run as opposed to any returned later
166167
}
167168
return nil, nil, StateError, err

0 commit comments

Comments
 (0)