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

cmd/oci-image-tool/validate.go: create a logger if none exists. #134

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

erikh
Copy link
Contributor

@erikh erikh commented Apr 2, 2017

This was causing panics when validating an image with no refs, hitting this line of code, causing a panic on out being nil: https://github.com/opencontainers/image-tools/blob/master/image/image.go#L60

Thanks!

@vbatts
Copy link
Member

vbatts commented Apr 5, 2017

LGTM

Approved with PullApprove

@xiekeyang
Copy link
Contributor

It seems duplicate to #46

@vbatts
Copy link
Member

vbatts commented Apr 6, 2017

@xiekeyang this is not nearly as extensive as #46, only fixing a panic. 😄

@coolljt0725
Copy link
Member

coolljt0725 commented Apr 11, 2017

LGTM

Approved with PullApprove

@xiekeyang
Copy link
Contributor

xiekeyang commented Apr 11, 2017

LGTM

Approved with PullApprove

@xiekeyang xiekeyang merged commit 749082e into opencontainers:master Apr 11, 2017
@xiekeyang xiekeyang mentioned this pull request Jun 29, 2017
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