refactor: service logs are now on one page

This commit is contained in:
Andras Bacsai
2023-12-11 11:27:41 +01:00
parent 2846e049fa
commit 956416b522
7 changed files with 53 additions and 41 deletions

View File

@@ -80,7 +80,7 @@ class ExecuteContainerCommand extends Component
$this->resource = $resource;
$this->server = $this->resource->destination->server;
$this->container = $this->resource->uuid;
if (data_get($this,'resource.status') == 'running') {
if (str(data_get($this,'resource.status'))->startsWith('running')) {
$this->containers->push($this->container);
}
} else if (data_get($this->parameters, 'service_uuid')) {