From 2821d7fae203925339a4c45094410a2e83414bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Mon, 14 Aug 2023 18:46:51 +0200 Subject: [PATCH] resolver: remove outdated Target examples (#6547) --- resolver/resolver.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resolver/resolver.go b/resolver/resolver.go index 081e6f26f7bd..11384e228e54 100644 --- a/resolver/resolver.go +++ b/resolver/resolver.go @@ -260,15 +260,6 @@ type ClientConn interface { // target does not contain a scheme or if the parsed scheme is not registered // (i.e. no corresponding resolver available to resolve the endpoint), we will // apply the default scheme, and will attempt to reparse it. -// -// Examples: -// -// - "dns://some_authority/foo.bar" -// Target{Scheme: "dns", Authority: "some_authority", Endpoint: "foo.bar"} -// - "foo.bar" -// Target{Scheme: resolver.GetDefaultScheme(), Endpoint: "foo.bar"} -// - "unknown_scheme://authority/endpoint" -// Target{Scheme: resolver.GetDefaultScheme(), Endpoint: "unknown_scheme://authority/endpoint"} type Target struct { // URL contains the parsed dial target with an optional default scheme added // to it if the original dial target contained no scheme or contained an