mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 00:37:52 +00:00
Minor fix to linting issue introduced in #707
This commit is contained in:
parent
6c8445988c
commit
1e7b57e513
4
acls.go
4
acls.go
@ -421,9 +421,9 @@ func excludeCorrectlyTaggedNodes(
|
||||
) []Machine {
|
||||
out := []Machine{}
|
||||
tags := []string{}
|
||||
for tag, ns := range aclPolicy.TagOwners {
|
||||
for tag := range aclPolicy.TagOwners {
|
||||
owners, _ := expandTagOwners(aclPolicy, namespace, stripEmailDomain)
|
||||
ns = append(owners, namespace)
|
||||
ns := append(owners, namespace)
|
||||
if contains(ns, namespace) {
|
||||
tags = append(tags, tag)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user