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(provider): use task ID instead of volume name for interacting with files #67

Conversation

Zygimantass
Copy link
Contributor

@Zygimantass Zygimantass commented Jan 26, 2024

In this PR

Other providers like DigitalOcean will not use the concept of volumes, instead they host the data in their root directories or wherever else. This PR makes the task file functions accept a task ID instead of a volume name.

@Zygimantass Zygimantass force-pushed the zygis/use-docker-id-instead-of-name branch from 63dc23b to 2a5b248 Compare January 26, 2024 00:55
return err
}

volumeName := dockerContainer.Mounts[0].Name
Copy link
Contributor

Choose a reason for hiding this comment

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

potential array access panic here?

@Zygimantass Zygimantass merged commit cc207ae into zygis/add-node-definition-modifier Jan 30, 2024
7 checks passed
Zygimantass added a commit that referenced this pull request Jan 30, 2024
fix(provider): use task ID instead of volume name for interacting with files
@Zygimantass Zygimantass deleted the zygis/use-docker-id-instead-of-name branch January 31, 2024 17:04
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.

2 participants