Skip to content

Commit 09800a7

Browse files
committed
f
1 parent 6c4d71d commit 09800a7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/e2e/scaffold/scaffold.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,12 @@ func (s *Scaffold) createDataplaneTunnels(
397397
}
398398
tunnels.TCP = tcpTunnel
399399

400-
if err := http2Tunnel.ForwardPortE(s.t); err != nil {
401-
return nil, err
400+
if http2Port != 0 {
401+
if err := http2Tunnel.ForwardPortE(s.t); err != nil {
402+
return nil, err
403+
}
404+
tunnels.HTTP2 = http2Tunnel
402405
}
403-
tunnels.HTTP2 = http2Tunnel
404406

405407
return tunnels, nil
406408
}

0 commit comments

Comments
 (0)