Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not tmpDevice?

throw new Exception('Failed to copy source code to temporary directory', 500);
};
}
Expand Down