Skip to content

Commit

Permalink
pkg/authorization/rewrite: fix int type in ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
ibihim committed Jul 5, 2023
1 parent 5ab6574 commit 8bd8c70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/authorization/rewrite/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ limitations under the License.
*/
package rewrite

const rewriterParams = iota
type rewriterParamsKey int

const (
rewriterParams rewriterParamsKey = iota
)

// RewriteAttributesConfig describes how a request's attributes should be
// rewritten to receive a proper SubjectAccessReview.
Expand Down

0 comments on commit 8bd8c70

Please sign in to comment.