use same args for remoteProcess and instantRemoteProcess

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

View File

@@ -45,7 +45,7 @@ class StandaloneDocker extends Component
$server = Server::find($this->server_id);
instantRemoteProcess($server, ['docker network create --attachable ' . $this->network], throwError: false);
instantRemoteProcess(['docker network create --attachable ' . $this->network], $server, throwError: false);
return redirect()->route('destination.show', $docker->uuid);
}
}