Skip to content

Commit ba88a0a

Browse files
committed
fix: expose node 0's support console port
1 parent 7b74109 commit ba88a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/cluster/cmx/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func NewNodes(in *ClusterInput) ([]Node, error) {
124124
return nil, fmt.Errorf("copy scripts to node %s: %v", nodes[i].ID, err)
125125
}
126126

127-
if in.Nodes == 1 {
127+
if i == 0 {
128128
in.T.Logf("exposing port 30003 on node %s", nodes[i].ID)
129129
hostname, err := exposePort(nodes[i], "30003")
130130
if err != nil {

0 commit comments

Comments
 (0)