pkg/kt/command/exchange/ephemeral.go
Function exchangeWithEphemeralContainer
has 5 return statements (exceeds 4 allowed). Open
Open
func exchangeWithEphemeralContainer(exposePorts string, localSSHPort int, privateKey string) error {
// Get all listened ports on remote host
listenedPorts, err := getListenedPorts(localSSHPort, privateKey)
if err != nil {
return err