mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-18 12:33:06 +00:00
Fix issue with parsing services in ScheduledTask/All.php
This commit is contained in:
@@ -23,7 +23,7 @@ class All extends Component
|
|||||||
} elseif ($this->resource->type() == 'application') {
|
} elseif ($this->resource->type() == 'application') {
|
||||||
if ($this->resource->build_pack === 'dockercompose') {
|
if ($this->resource->build_pack === 'dockercompose') {
|
||||||
$parsed = $this->resource->parseCompose();
|
$parsed = $this->resource->parseCompose();
|
||||||
$containers = collect($parsed['services'])->keys();
|
$containers = collect(data_get($parsed,'services'))->keys();
|
||||||
$this->containerNames = $containers;
|
$this->containerNames = $containers;
|
||||||
} else {
|
} else {
|
||||||
$this->containerNames = collect([]);
|
$this->containerNames = collect([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user