rename acl "get" funcs to "expand" for consistency
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
155cc072f7
commit
19dc0ac702
4 changed files with 59 additions and 62 deletions
|
@ -338,7 +338,7 @@ func (api headscaleV1APIServer) ListMachines(
|
|||
response := make([]*v1.Machine, len(machines))
|
||||
for index, machine := range machines {
|
||||
m := machine.Proto()
|
||||
validTags, invalidTags := api.h.ACLPolicy.GetTagsOfMachine(
|
||||
validTags, invalidTags := api.h.ACLPolicy.TagsOfMachine(
|
||||
machine,
|
||||
)
|
||||
m.InvalidTags = invalidTags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue