rpc: switch order of args in virNetClientNewSSH

Switch keyfile and netcat parameters, since the netcat path and
socket path are a logical pair that belong together. This patches
the other constructors.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-07-08 13:05:38 +01:00
parent dfad1b551d
commit 6e4143c851
3 changed files with 4 additions and 4 deletions

View File

@ -1009,8 +1009,8 @@ doRemoteOpen(virConnectPtr conn,
username,
!tty,
!verify,
netcat,
keyfile,
netcat,
sockname)))
goto failed;

View File

@ -444,8 +444,8 @@ virNetClientPtr virNetClientNewSSH(const char *nodename,
const char *username,
bool noTTY,
bool noVerify,
const char *netcatPath,
const char *keyfile,
const char *netcatPath,
const char *socketPath)
{
virNetSocketPtr sock;

View File

@ -48,9 +48,9 @@ virNetClientPtr virNetClientNewSSH(const char *nodename,
const char *username,
bool noTTY,
bool noVerify,
const char *netcat,
const char *keyfile,
const char *path);
const char *netcat,
const char *socketPath);
virNetClientPtr virNetClientNewLibSSH2(const char *host,
const char *port,