mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
fix: private key not found error
This commit is contained in:
1 parent
83993cbbb2
commit
0e7a304610
1 file changed
+4
-1
@@ -174,8 +174,11 @@ function decode_remote_command_output(?ApplicationDeploymentQueue $application_d
|
||||
return $formatted;
|
||||
}
|
||||
|
||||
function refresh_server_connection(PrivateKey $private_key)
|
||||
function refresh_server_connection(?PrivateKey $private_key = null)
|
||||
{
|
||||
if (is_null($private_key)) {
|
||||
return;
|
||||
}
|
||||
foreach ($private_key->servers as $server) {
|
||||
Storage::disk('ssh-mux')->delete($server->muxFilename());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user