From e9fbb7d2b069dd067f95c962c2d5fd44ae35bd96 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 19 Sep 2024 13:23:48 +0200 Subject: [PATCH] fix: coolify-db should not be in the managed resources --- app/Models/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index 61c670dccf..df136c72bd 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -838,9 +838,9 @@ public function databases() $clickhouses = data_get($standaloneDocker, 'clickhouses', collect([])); return $postgresqls->concat($redis)->concat($mongodbs)->concat($mysqls)->concat($mariadbs)->concat($keydbs)->concat($dragonflies)->concat($clickhouses); - })->filter(function ($item) { + })->flatten()->filter(function ($item) { return data_get($item, 'name') !== 'coolify-db'; - })->flatten(); + }); } public function applications()