Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Refactor ContainerStatusJob.php for improved readability and maintainability

Andras Bacsaiedf2a2e68da3
diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.php
index 96caf5dba0..9ffd68f11c 100644
--- a/app/Jobs/ContainerStatusJob.php
+++ b/app/Jobs/ContainerStatusJob.php
@@ -36,7 +36,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted
public function handle()
{
- GetContainersStatus::run();
+ GetContainersStatus::run($this->server);
return;
// if (!$this->server->isFunctional()) {
// return 'Server is not ready.';