From 161d66ff68ecfd4a9e679130c2fac18de83defc7 Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Wed, 25 May 2022 20:57:41 +0700 Subject: [PATCH] add cloneURL again Signed-off-by: Nikita Skrynnik --- pkg/tools/sandbox/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/sandbox/types.go b/pkg/tools/sandbox/types.go index fbe690de4..db7bacb1f 100644 --- a/pkg/tools/sandbox/types.go +++ b/pkg/tools/sandbox/types.go @@ -93,7 +93,7 @@ func (d *Domain) NewNSRegistryClient(ctx context.Context, generatorFunc token.Ge var registryURL *url.URL switch { case d.Registry != nil: - registryURL = d.Registry.URL + registryURL = CloneURL(d.Registry.URL) case len(d.Nodes) != 0: registryURL = CloneURL(d.Nodes[0].NSMgr.URL) default: