chore: apply lint recommendations
This commit is contained in:
parent
02ae7a0563
commit
4435a4f19d
6 changed files with 26 additions and 17 deletions
|
@ -664,9 +664,11 @@ func getTags(
|
|||
aclPolicy *ACLPolicy,
|
||||
machine Machine,
|
||||
stripEmailDomain bool,
|
||||
) (validTags []string, invalidTags []string) {
|
||||
) ([]string, []string) {
|
||||
validTags := make([]string, 0)
|
||||
invalidTags := make([]string, 0)
|
||||
if aclPolicy == nil {
|
||||
return
|
||||
return validTags, invalidTags
|
||||
}
|
||||
validTagMap := make(map[string]bool)
|
||||
invalidTagMap := make(map[string]bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue