From 1e7b57e513e782711edbfd597102ca40022bd414 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Thu, 11 Aug 2022 14:12:45 +0200 Subject: [PATCH] Minor fix to linting issue introduced in #707 --- acls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acls.go b/acls.go index 4a1e0ccf..62cd04a8 100644 --- a/acls.go +++ b/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) }