Skip to content

Commit 15206ca

Browse files
committed
expose nodes internal IP
1 parent 46dc418 commit 15206ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/components/clnode/clnode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ func newNode(in *Input, pgOut *postgres.Output) (*NodeOut, error) {
289289
ContainerName: containerName,
290290
InternalIP: ip,
291291
HostURL: fmt.Sprintf("http://%s:%s", host, mp.Port()),
292-
DockerURL: fmt.Sprintf("http://%s:%s", containerName, DefaultHTTPPort),
292+
DockerURL: fmt.Sprintf("http://%s:%s", ip, DefaultHTTPPort),
293293
DockerP2PUrl: fmt.Sprintf("http://%s:%s", ip, DefaultP2PPort),
294294
}, nil
295295
}

0 commit comments

Comments
 (0)