Skip to content

Simpler sha256 tagger code#847

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:simple-sha256-tagger
Jul 23, 2018
Merged

Simpler sha256 tagger code#847
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:simple-sha256-tagger

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jul 21, 2018

Signed-off-by: David Gageot david@gageot.net

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

digest := opts.Digest
Copy link
Copy Markdown
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
Copy Markdown
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 <david@gageot.net>
@dgageot dgageot force-pushed the simple-sha256-tagger branch from bf954c6 to c4fa0cc Compare July 23, 2018 21:49
@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