chore: fmt for grpc file
This commit is contained in:
parent
89a1a56328
commit
4fcc5e253c
1 changed files with 5 additions and 1 deletions
|
@ -281,7 +281,11 @@ func (api headscaleV1APIServer) ListMachines(
|
||||||
response := make([]*v1.Machine, len(machines))
|
response := make([]*v1.Machine, len(machines))
|
||||||
for index, machine := range machines {
|
for index, machine := range machines {
|
||||||
m := machine.toProto()
|
m := machine.toProto()
|
||||||
validTags, invalidTags := getTags(*api.h.aclPolicy, machine, api.h.cfg.OIDC.StripEmaildomain)
|
validTags, invalidTags := getTags(
|
||||||
|
*api.h.aclPolicy,
|
||||||
|
machine,
|
||||||
|
api.h.cfg.OIDC.StripEmaildomain,
|
||||||
|
)
|
||||||
m.InvalidTags = invalidTags
|
m.InvalidTags = invalidTags
|
||||||
m.ValidTags = validTags
|
m.ValidTags = validTags
|
||||||
response[index] = m
|
response[index] = m
|
||||||
|
|
Loading…
Reference in a new issue