DockerCLI/cli/connhelper
Sebastiaan van Stijn 0fd3fb0840
cli/connhelper: getConnectionHelper: move ssh-option funcs out of closure
The addSSHTimeout and disablePseudoTerminalAllocation were added in commits
a5ebe2282a and f3c2c26b10,
and called inside the Dialer function, which means they're called every
time the Dialer is called. Given that the sshFlags slice is not mutated
by the Dialer, we can call these functions once.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-12 17:28:32 +02:00
..
commandconn Merge pull request #5291 from laurazard/fix-all-the-flaky-connhelper-tests 2024-07-24 12:03:55 +01:00
ssh connhelper: Allow socket path when using SSH 2023-03-07 00:48:27 +01:00
connhelper.go cli/connhelper: getConnectionHelper: move ssh-option funcs out of closure 2024-08-12 17:28:32 +02:00
connhelper_test.go disable pseudoterminal creation 2024-08-12 16:53:49 +02:00