Skip to content

Commit

Permalink
Add package comment; fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kralicky committed May 2, 2024
1 parent 8b64e88 commit 4b72477
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require (
github.com/iancoleman/strcase v0.3.0
github.com/martinlindhe/base36 v1.1.1
github.com/open-policy-agent/opa v0.64.1
github.com/pomerium/csrf v1.7.0
github.com/pomerium/pomerium v0.25.1-0.20240501190122-e30d90206df9
github.com/rs/zerolog v1.32.0
github.com/sergi/go-diff v1.3.1
Expand Down Expand Up @@ -155,6 +154,7 @@ require (
github.com/philhofer/fwd v1.0.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/pomerium/csrf v1.7.0 // indirect
github.com/pomerium/datasource v0.18.2-0.20221108160055-c6134b5ed524 // indirect
github.com/pomerium/webauthn v0.0.0-20221118023040-00a9c430578b // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
Expand Down
2 changes: 1 addition & 1 deletion util/generic/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/predicate"
)

// NewPredicateFuncs[T] is a wrapper around predicate.NewTypedPredicateFuncs[T]
// NewPredicateFuncs is a wrapper around predicate.NewTypedPredicateFuncs[T]
// that converts the typed predicate functions back to untyped variants, suitable
// for use in the current controller-runtime API.
//
Expand Down
3 changes: 3 additions & 0 deletions util/generic/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package generic contains helper functions useful for working with the generic
// controller-runtime APIs.
package generic

0 comments on commit 4b72477

Please sign in to comment.