Skip to content

Conversation

@zhouhao3
Copy link

I do not understand why #152 is closed, so I resubmitted the fix patch.

Signed-off-by: zhouhao [email protected]

if index.Manifests[i].Annotations["org.opencontainers.ref.name"] != "" {
refs[index.Manifests[i].Annotations["org.opencontainers.ref.name"]] = &index.Manifests[i]
if index.Manifests[i].Annotations["org.opencontainers.image.ref.name"] != "" {
refs[index.Manifests[i].Annotations["org.opencontainers.image.ref.name"]] = &index.Manifests[i]
Copy link
Contributor

Choose a reason for hiding this comment

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

Since #163 bumped image-spec to 1.0.0, you can use AnnotationRefName instead of a string literal.

Copy link
Author

Choose a reason for hiding this comment

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

updated, thanks.

Signed-off-by: zhouhao <[email protected]>
@zhouhao3
Copy link
Author

ping @opencontainers/image-tools-maintainers

@zhouhao3
Copy link
Author

zhouhao3 commented Aug 1, 2017

@coolljt0725
Copy link
Member

coolljt0725 commented Aug 1, 2017

LGTM

Approved with PullApprove

1 similar comment
@xiekeyang
Copy link
Contributor

xiekeyang commented Aug 1, 2017

LGTM

Approved with PullApprove

@xiekeyang xiekeyang merged commit 5854592 into opencontainers:master Aug 1, 2017
@zhouhao3 zhouhao3 deleted the fix-annnoation branch August 1, 2017 06:18
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.

4 participants