chore(lint): golangci-lint v1.47.2 -> v1.48.0

- Remove deprecated `ifshort` linter
- Fix bad `//nolint:gomnd` comment
This commit is contained in:
Quentin McGaw
2022-08-12 22:07:12 +00:00
parent a6f00f2fb2
commit ebae167815
3 changed files with 2 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ func (u *Updater) FetchServers(ctx context.Context, minServers int) (
x5090Name := group.OvpnX509
wgPubKey := group.WgPubKey
for _, node := range group.Nodes {
ips := make([]net.IP, 0, 2) // nolint:gomnd
ips := make([]net.IP, 0, 2) //nolint:gomnd
if node.IP != nil {
ips = append(ips, node.IP)
}