mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 22:14:53 +00:00
fix: server not found
This commit is contained in:
1 parent
70c662daf8
commit
ef595dd4c2
1 file changed
+3
@@ -391,6 +391,9 @@ class Server extends BaseModel
|
|||||||
public function validateConnection()
|
public function validateConnection()
|
||||||
{
|
{
|
||||||
$server = Server::find($this->id);
|
$server = Server::find($this->id);
|
||||||
|
if (!$server) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if ($server->skipServer()) {
|
if ($server->skipServer()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user