From 4edc625331a5050a5aa6fe8d4a5b318010561178 Mon Sep 17 00:00:00 2001 From: Karmanyaah Malhotra Date: Fri, 7 Oct 2022 20:36:01 -0500 Subject: [PATCH] fix lint --- cmd/serve.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/serve.go b/cmd/serve.go index 36dbf316..6d7754ef 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -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