From 2928a27966f3773b999238065eb1420b9848ccf0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:59:51 +0200 Subject: [PATCH] fix(docker): pass the application to the container lookup in scheduled tasks af983a29d changed getCurrentApplicationContainerStatus() to take the application model, but missed this caller. Scheduled tasks of an application failed with a TypeError. --- app/Jobs/ScheduledTaskJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/ScheduledTaskJob.php b/app/Jobs/ScheduledTaskJob.php index 6407f0b500..ac8e3f5939 100644 --- a/app/Jobs/ScheduledTaskJob.php +++ b/app/Jobs/ScheduledTaskJob.php @@ -127,7 +127,7 @@ class ScheduledTaskJob implements ShouldBeEncrypted, ShouldQueue $this->executionId = $this->task_log->id; if ($this->resource->type() === 'application') { - $containers = getCurrentApplicationContainerStatus($this->server, $this->resource->id, 0); + $containers = getCurrentApplicationContainerStatus($this->server, $this->resource, 0); if ($containers->count() > 0) { $containers->each(function ($container) { $this->containers[] = str_replace('/', '', $container['Names']);