mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 12:05:26 +00:00
chore: fmt for grpc file
This commit is contained in:
parent
89a1a56328
commit
4fcc5e253c
@ -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 New Issue
Block a user