Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Remote storage #42

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Fix: Remote storage #42

merged 1 commit into from
Sep 25, 2023

Conversation

Meldiron
Copy link
Contributor

@Meldiron Meldiron commented Sep 21, 2023

Quick fix of a bug when using different device than local.

Nessessary before using latest version of Executor with Appwrite 1.4, otherwise all builds with cloud storage provider fails.

  • Manual QA

@Meldiron
Copy link
Contributor Author

QA:

CleanShot 2023-09-25 at 11 28 41@2x CleanShot 2023-09-25 at 11 28 47@2x CleanShot 2023-09-25 at 11 28 56@2x

Copy link
Contributor

@christyjacob4 christyjacob4 left a comment

Choose a reason for hiding this comment

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

Looks good

@christyjacob4 christyjacob4 merged commit fca4855 into main Sep 25, 2023
@stnguyen90 stnguyen90 deleted the fix-remote-storage branch September 25, 2023 17:02
@@ -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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants