mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
feat: debuggable executeNow commands
This commit is contained in:
1 parent
1ba57ef6c3
commit
14919980c2
5 files changed
+42
-23
No files matched your search
@@ -19,6 +19,14 @@ class ContainerStatusJob implements ShouldQueue
|
||||
public string|null $container_id = null,
|
||||
) {
|
||||
}
|
||||
public function handle(): void
|
||||
{
|
||||
if ($this->container_id) {
|
||||
$this->checkContainerStatus();
|
||||
} else {
|
||||
$this->checkAllServers();
|
||||
}
|
||||
}
|
||||
protected function checkAllServers()
|
||||
{
|
||||
try {
|
||||
@@ -69,12 +77,4 @@ class ContainerStatusJob implements ShouldQueue
|
||||
Log::error($e->getMessage());
|
||||
}
|
||||
}
|
||||
public function handle(): void
|
||||
{
|
||||
if ($this->container_id) {
|
||||
$this->checkContainerStatus();
|
||||
} else {
|
||||
$this->checkAllServers();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user