Skip to content

Commit

Permalink
add cloneURL again (#1301)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik authored May 26, 2022
1 parent afac729 commit 2d54484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tools/sandbox/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2d54484

Please sign in to comment.