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

copy.Image(): select the CopySystemImage image using the source context #734

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

nalind
Copy link
Member

@nalind nalind commented Oct 22, 2019

Go back to selecting which image instance we copy in CopySystemImage mode using the source context rather than the destination context, as we did before #400. Using the destination context made more sense to me, but it's probably worth breaking that out that as a separate decision.

Go back to selecting which image instance we copy in CopySystemImage
mode using the source context rather than the destination context.

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

nalind commented Oct 23, 2019

We have a few places where callers set OSChoice and ArchitectureChoice in a source SystemContext to affect which manifest we choose while pulling from a registry, but don't do the same for a destination SystemContext, and this change in #400 would break them.

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

@rhatdan
Copy link
Member

rhatdan commented Oct 23, 2019

LGTM

@rhatdan rhatdan merged commit b8d780c into containers:master Oct 23, 2019
@nalind nalind deleted the choose-source branch October 23, 2019 20:38
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