chore: apply format and lint

This commit is contained in:
Adrien Raffin-Caboisse 2022-04-15 18:27:57 +02:00
parent cd1d10761f
commit 98f54c9f7f
No known key found for this signature in database
GPG key ID: 7FB60532DEBEAD6A
8 changed files with 51 additions and 18 deletions

View file

@ -261,7 +261,11 @@ func expandAlias(
}
}
if len(ips) == 0 {
return ips, fmt.Errorf("%w. %v isn't owned by a TagOwner and no forced tags are defined.", errInvalidTag, alias)
return ips, fmt.Errorf(
"%w. %v isn't owned by a TagOwner and no forced tags are defined.",
errInvalidTag,
alias,
)
}
return ips, nil
} else {