Fix server reference in ExecuteContainerCommand.php
This commit is contained in:
parent
fda5d23d32
commit
9064aedc89
@ -67,8 +67,8 @@ public function mount()
|
||||
}
|
||||
}
|
||||
$this->resource = $resource;
|
||||
if ($this->resource->server->isFunctional()) {
|
||||
$this->servers = $this->servers->push($this->resource->server);
|
||||
if ($this->resource->destination->server->isFunctional()) {
|
||||
$this->servers = $this->servers->push($this->resource->destination->server);
|
||||
}
|
||||
$this->container = $this->resource->uuid;
|
||||
$this->containers->push($this->container);
|
||||
@ -111,7 +111,7 @@ public function loadContainers()
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($containers->count() > 0) {
|
||||
if ($this->containers->count() > 0) {
|
||||
if (data_get($this->parameters, 'application_uuid')) {
|
||||
$this->container = data_get($this->containers->first(), 'container.Names');
|
||||
} elseif (data_get($this->parameters, 'database_uuid')) {
|
||||
|
Loading…
Reference in New Issue
Block a user