mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Fix: Do not delete SSH Key from disk during server validation error
This commit is contained in:
parent
6a6b947fba
commit
845d32c94c
1 changed files with 1 additions and 4 deletions
|
|
@ -912,12 +912,9 @@ $schema://$host {
|
|||
$isFunctional = $this->settings->is_reachable && $this->settings->is_usable && !$this->settings->force_disabled;
|
||||
|
||||
if (!$isFunctional) {
|
||||
if ($this->privateKey) {
|
||||
PrivateKey::deleteFromStorage($this->privateKey);
|
||||
}
|
||||
Storage::disk('ssh-mux')->delete($this->muxFilename());
|
||||
}
|
||||
|
||||
|
||||
return $isFunctional;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue