mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
Fix updating connection when SSH port conflict happens
Signed-off-by: Gabriel Parreiras <gabriel.parreiras@shopify.com>
This commit is contained in:
@ -64,7 +64,7 @@ func UpdateConnectionPairPort(name string, port, uid int, remoteUsername string,
|
||||
URI: con.uri.String(),
|
||||
Identity: identityPath,
|
||||
}
|
||||
cfg.Connection.Connections[name] = dst
|
||||
cfg.Connection.Connections[con.name] = dst
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user