Skip to content

Commit

Permalink
Merge b092818 into backport/refactor-wildcard-ns-acl-check/utterly-ma…
Browse files Browse the repository at this point in the history
…in-cub
  • Loading branch information
hc-github-team-nomad-core committed Jul 6, 2022
2 parents 18b610f + b092818 commit fd73b6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acl/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ func (a *ACL) anyNamespaceAllows(cb func(capabilitySet) bool) bool {

checkFn := func(_ []byte, iv interface{}) bool {
v := iv.(capabilitySet)
return cb(v)
allow = cb(v)
return allow
}

a.namespaces.Root().Walk(checkFn)
Expand Down

0 comments on commit fd73b6a

Please sign in to comment.