Skip to content

Commit

Permalink
pkg/authorization/decision.go: align to upstream decision strings
Browse files Browse the repository at this point in the history
  • Loading branch information
s-urbaniak committed Aug 26, 2022
1 parent 802fb93 commit 3980d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/authorization/decision.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ package authorization
import "k8s.io/apiserver/pkg/authorization/authorizer"

const (
DecisionNoOpinion = "NoOpinion"
DecisionAllowed = "Allowed"
DecisionDenied = "Denied"
DecisionNoOpinion = "noopinion"
DecisionAllowed = "allow"
DecisionDenied = "deny"
)

func decisionString(dec authorizer.Decision) string {
Expand Down

0 comments on commit 3980d68

Please sign in to comment.