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