Fix issue with parsing services in ScheduledTask/All.php
This commit is contained in:
parent
9f506eb83a
commit
ed9cdc1ab7
@ -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([]);
|
||||
|
Loading…
Reference in New Issue
Block a user