Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
karmanyaahm committed Oct 8, 2022
1 parent 3b29294 commit 4edc625
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ func execServe(c *cli.Context) error {
log.Warn("cannot resolve host %s: %s, ignoring visitor request exemption", host, err.Error())
continue
}
for _, ip := range ips {
visitorRequestLimitExemptIPs = append(visitorRequestLimitExemptIPs, ip)
}
visitorRequestLimitExemptIPs = append(visitorRequestLimitExemptIPs, ips...)
}

// Run server
Expand Down

0 comments on commit 4edc625

Please sign in to comment.