mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 14:14:52 +00:00
feat: notify user of disk cleanup init
This commit is contained in:
1 parent
18d26904e2
commit
7bfeb6c177
5 files changed
+21
-8
No files matched your search
@@ -84,6 +84,10 @@ class Server extends BaseModel
|
||||
{
|
||||
return "{$this->ip}_{$this->port}_{$this->user}";
|
||||
}
|
||||
public function team()
|
||||
{
|
||||
return $this->belongsTo(Team::class);
|
||||
}
|
||||
static public function ownedByCurrentTeam(array $select = ['*'])
|
||||
{
|
||||
$selectArray = collect($select)->concat(['id']);
|
||||
@@ -102,4 +106,4 @@ class Server extends BaseModel
|
||||
$swarmDocker = collect($server->swarmDockers->all());
|
||||
return $standaloneDocker->concat($swarmDocker);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user