Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan committed Sep 13, 2024
1 parent 8debc68 commit 903a4fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/engine/exceptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func findExceptions(
return selector.Find(cache.MetaObjectToName(policy).String(), rule)
}

func (e *engine) GetPolicyExceptions(
func (e *engine) GetPolicyExceptions( //nolint:all

Check failure on line 23 in pkg/engine/exceptions.go

View workflow job for this annotation

GitHub Actions / tests

directive `//nolint:all` is unused (nolintlint)

Check failure on line 23 in pkg/engine/exceptions.go

View workflow job for this annotation

GitHub Actions / tests

directive `//nolint:all` is unused (nolintlint)
policy kyvernov1.PolicyInterface,
rule string,
) ([]*kyvernov2alpha1.PolicyException, error) {
Expand Down Expand Up @@ -63,7 +63,7 @@ func matchesException(

// hasPolicyExceptions returns nil when there are no matching exceptions.
// A rule response is returned when an exception is matched, or there is an error.
func (e *engine) hasPolicyExceptions(
func (e *engine) hasPolicyExceptions( //nolint:all

Check failure on line 66 in pkg/engine/exceptions.go

View workflow job for this annotation

GitHub Actions / tests

directive `//nolint:all` is unused (nolintlint)

Check failure on line 66 in pkg/engine/exceptions.go

View workflow job for this annotation

GitHub Actions / tests

directive `//nolint:all` is unused (nolintlint)
logger logr.Logger,
ruleType engineapi.RuleType,
ctx engineapi.PolicyContext,
Expand Down

0 comments on commit 903a4fe

Please sign in to comment.