From 32c53b9584229f8a7b19a6306533758218bbe368 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sun, 29 Jan 2023 11:03:39 +0800 Subject: [PATCH] chore: dns log error --- dns/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/client.go b/dns/client.go index 211eb91f7..c5a522814 100644 --- a/dns/client.go +++ b/dns/client.go @@ -43,7 +43,7 @@ func (c *client) Address() string { } } - c.addr = fmt.Sprintf("%s//:%s", schema, net.JoinHostPort(c.host, c.port)) + c.addr = fmt.Sprintf("%s://%s", schema, net.JoinHostPort(c.host, c.port)) return c.addr }