Skip to content

Commit

Permalink
Merge pull request #42 from open-runtimes/fix-remote-storage
Browse files Browse the repository at this point in the history
Fix: Remote storage
  • Loading branch information
christyjacob4 authored Sep 25, 2023
2 parents c4d9229 + c2f468b commit fca4855
Showing 1 changed file with 1 addition and 1 deletion.
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)) {
throw new Exception('Failed to copy source code to temporary directory', 500);
};
}
Expand Down

0 comments on commit fca4855

Please sign in to comment.