fix: redis custom conf

This commit is contained in:
Andras Bacsai
2024-01-21 12:06:51 +01:00
parent 2db93bd9b9
commit 964ded1d0b
5 changed files with 10 additions and 8 deletions

View File

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