From c0c383359fa255030c609a857e307c5c30f875a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 21 Nov 2024 20:15:07 +0200 Subject: [PATCH] lint again --- hscontrol/types/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscontrol/types/config.go b/hscontrol/types/config.go index afa94e83..5895ebc9 100644 --- a/hscontrol/types/config.go +++ b/hscontrol/types/config.go @@ -946,7 +946,7 @@ func isSafeServerURL(serverURL, baseDomain string) error { s := len(serverDomainParts) b := len(baseDomainParts) - for i := range 0..len(baseDomainParts) { + for i := range len(baseDomainParts) { if serverDomainParts[s-i-1] != baseDomainParts[b-i-1] { return nil }