We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdacac8 commit 10e587dCopy full SHA for 10e587d
1 file changed
runner/internal/shim/docker_test.go
@@ -154,7 +154,9 @@ func (c *dockerParametersMock) DockerShellCommands(publicKeys []string) []string
154
155
func (c *dockerParametersMock) DockerPorts() []int {
156
ports := make([]int, 0)
157
- ports = append(ports, c.sshPort)
+ if c.sshPort != 0 {
158
+ ports = append(ports, c.sshPort)
159
+ }
160
return ports
161
}
162
0 commit comments