Skip to content

Commit

Permalink
Update internal/dataplane/translator/wrappers_refchecker.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Jan 3, 2024
1 parent c6a06c0 commit fa1bf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dataplane/translator/wrappers_refchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (rc refChecker[T]) IsRefAllowedByGrant(
}

// If the namespace is specified but is the same as the route's namespace, then the ref is allowed.
if br.Namespace != nil && rc.route.GetNamespace() == string(*br.Namespace) {
if rc.route.GetNamespace() == string(*br.Namespace) {
return true
}

Expand Down

0 comments on commit fa1bf7c

Please sign in to comment.