From c2f468bfa1b963fed30199f2e0048aca1dbe48d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 21 Sep 2023 15:15:55 +0200 Subject: [PATCH] Fix remote storage --- app/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/http.php b/app/http.php index 3dd6c56a..4793c46e 100644 --- a/app/http.php +++ b/app/http.php @@ -429,7 +429,7 @@ function removeAllRuntimes(Table $activeRuntimes, Orchestration $orchestration): * Copy code files from source to a temporary location on the executor */ if (!empty($source)) { - if (!$localDevice->transfer($source, $tmpSource, $sourceDevice)) { + if (!$sourceDevice->transfer($source, $tmpSource, $localDevice)) { throw new Exception('Failed to copy source code to temporary directory', 500); }; }