chore: fmt for grpc file

This commit is contained in:
Adrien Raffin-Caboisse 2022-04-16 13:15:18 +02:00
parent 89a1a56328
commit 4fcc5e253c
No known key found for this signature in database
GPG Key ID: 7FB60532DEBEAD6A

View File

@ -281,7 +281,11 @@ func (api headscaleV1APIServer) ListMachines(
response := make([]*v1.Machine, len(machines))
for index, machine := range machines {
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.ValidTags = validTags
response[index] = m