Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Replace util.NormalizeImageRef with reference.ParseDockerRef#1040

Merged
Random-Liu merged 2 commits into
containerd:masterfrom
thaJeztah:remove_normalize_image_ref
Feb 8, 2019
Merged

Replace util.NormalizeImageRef with reference.ParseDockerRef#1040
Random-Liu merged 2 commits into
containerd:masterfrom
thaJeztah:remove_normalize_image_ref

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

Using the utility caused other project to have containerd/cri as a dependency, only for this utility. The new reference.ParseDockerRef function does the same (it's a copy of this function).

Tests were kept for now, but could be removed in future.

The utility is still used by containerd, but a PR has been opened there to remove that; containerd/containerd#2986

relates to distribution/distribution#2786 and docker/cli#1561 (comment)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Using the utility caused other project to have containerd/cri
as a dependency, only for this utility. The new `reference.ParseDockerRef`
function does the same (it's a copy of this function).

Tests were kept for now, but could be removed in future.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@k8s-ci-robot
Copy link
Copy Markdown

Hi @thaJeztah. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@mikebrow
Copy link
Copy Markdown
Member

mikebrow commented Feb 7, 2019

/ok-to-test

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

/LGTM

@Random-Liu Random-Liu merged commit 0441638 into containerd:master Feb 8, 2019
@thaJeztah thaJeztah deleted the remove_normalize_image_ref branch February 8, 2019 15:29
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