fix: handle empty aclPolicy for integration tests
This commit is contained in:
parent
68417cc888
commit
dc8c20e002
4 changed files with 31 additions and 9 deletions
|
@ -268,7 +268,7 @@ func (api headscaleV1APIServer) ListMachines(
|
|||
for index, machine := range machines {
|
||||
m := machine.toProto()
|
||||
validTags, invalidTags := getTags(
|
||||
*api.h.aclPolicy,
|
||||
api.h.aclPolicy,
|
||||
machine,
|
||||
api.h.cfg.OIDC.StripEmaildomain,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue