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

Simpler sha256 tagger code #847

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jul 21, 2018

Signed-off-by: David Gageot [email protected]

if len(digestSplit) != 2 {
return "", fmt.Errorf("Digest wrong format: %s, expected sha256:<checksum>", digestSplit)

digest := opts.Digest
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: don't need this var

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is used but I forgot to use it the line just after. Should be good now

Signed-off-by: David Gageot <[email protected]>
@dgageot dgageot merged commit a03385e into GoogleContainerTools:master Jul 23, 2018
@dgageot dgageot deleted the simple-sha256-tagger branch December 28, 2018 07:10
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.

2 participants