use same args for remoteProcess and instantRemoteProcess

This commit is contained in:
Andras Bacsai committed 2023-05-03 09:38:53 +02:00
1 parent 3e475d87eb
commit ad671cfcf1
7 files changed
+27 -18

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ if (!function_exists('formatDockerLabelsToJson')) {
}
}
if (!function_exists('instantRemoteProcess')) {
function instantRemoteProcess(Server $server, array $command, $throwError = true)
function instantRemoteProcess(array $command, Server $server, $throwError = true)
{
$command_string = implode("\n", $command);
$private_key_location = savePrivateKeyForServer($server);