Fix issue with parsing services in ScheduledTask/All.php

This commit is contained in:
Andras Bacsai 2024-05-16 17:24:57 +02:00
parent 9f506eb83a
commit ed9cdc1ab7

View File

@ -23,7 +23,7 @@ public function mount()
} elseif ($this->resource->type() == 'application') {
if ($this->resource->build_pack === 'dockercompose') {
$parsed = $this->resource->parseCompose();
$containers = collect($parsed['services'])->keys();
$containers = collect(data_get($parsed,'services'))->keys();
$this->containerNames = $containers;
} else {
$this->containerNames = collect([]);