mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: only set status in case the last command block is finished
This commit is contained in:
1 parent
cd31ec8db1
commit
9f4a7384b2
3 files changed
+14
-9
No files matched your search
@@ -20,7 +20,7 @@ class PollActivity extends Component
|
||||
$this->activity?->refresh();
|
||||
}
|
||||
|
||||
if (data_get($this->activity, 'properties.exitCode') !== null) {
|
||||
if (data_get($this->activity, 'properties.status') == 'finished' || data_get($this->activity, 'properties.status') == 'failed' ) {
|
||||
$this->isKeepAliveOn = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user