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

runSetupBuiltinVolumes(): break up volume setup #1126

Closed
wants to merge 1 commit into from

Conversation

nalind
Copy link
Member

@nalind nalind commented Oct 24, 2018

Break setup for built-in volumes into independent steps where we create the volume's mount point, the directory that will hold its contents, and if there is content under the mount point, populate the volume with the mount point's contents.

This should help with #1125.

Break setup for built-in volumes into independent steps where we create
the volume's mount point, the directory that will hold its contents, and
if there is content under the mount point, populate the volume with the
mount point's contents.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@TomSweeneyRedHat
Copy link
Member

I'm not sure why the 1.11 builds are failing on this PR as the file they're failing on are not part of this PR and pass in other PR's?

# Run gofmt on version 1.11 and higher
Error: source files are not formatted according to recommendations. Run "gofmt -s -w" on:
./cmd/buildah/unshare.go

@TomSweeneyRedHat
Copy link
Member

Quick review and the code looks good, but I want to test/play with it in the morn.

@rhatdan
Copy link
Member

rhatdan commented Oct 25, 2018

@rh-atomic-bot r+

@rh-atomic-bot
Copy link
Collaborator

📌 Commit 61ad9ee has been approved by rhatdan

@rh-atomic-bot
Copy link
Collaborator

⚡ Test exempted: pull fully rebased and already tested.

Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

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

Well after the horse left the barn, but the changes LGTM and the testing is working well with this. Thanks @nalind!

BTB, I've put in a PR to hopefully take care of the unshare.go gofmt problem. I'm still not sure how/why that started popping up, but it's unrelated to this PR.

@nalind nalind deleted the volume-init branch November 11, 2021 19:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants