This commit is contained in:
Andras Bacsai committed 2023-12-11 10:29:03 +01:00
1 parent 3ffd3fc819
commit 2846e049fa
2 files changed
+5 -1

No files matched your search

@@ -80,7 +80,9 @@ class ExecuteContainerCommand extends Component
$this->resource = $resource;
$this->server = $this->resource->destination->server;
$this->container = $this->resource->uuid;
$this->containers->push($this->container);
if (data_get($this,'resource.status') == 'running') {
$this->containers->push($this->container);
}
} else if (data_get($this->parameters, 'service_uuid')) {
$this->type = 'service';
$this->resource = Service::where('uuid', $this->parameters['service_uuid'])->firstOrFail();