From 6ee45630ba0d15bececfa4ffee426791008f4f37 Mon Sep 17 00:00:00 2001 From: gVisor bot 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 211eb91f..c5a52281 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 }