fix(clickhouse): resolve lint issues from optimization stack

This commit is contained in:
ryan
2026-07-02 15:28:49 +08:00
parent caf2ffcff4
commit 38946d1af5
6 changed files with 27 additions and 26 deletions
@@ -329,11 +329,6 @@ func normalizeIPLiteral(value string) (string, bool) {
return addr.String(), true
}
func hostIsIPLiteral(value string) bool {
_, ok := normalizeIPLiteral(value)
return ok
}
func downloadIPGroupSubscription(ctx context.Context, rawURL string) ([]byte, error) {
if err := validateSubscriptionURL(rawURL); err != nil {
return nil, err