-
Notifications
You must be signed in to change notification settings - Fork 687
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
compatibility_test.go:change manifest to manifestlist #509
Conversation
@@ -110,14 +110,14 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) { | |||
fail: false, | |||
}, | |||
} { | |||
sum := sha256.Sum256([]byte(tt.manifest)) | |||
sum := sha256.Sum256([]byte(tt.manifestlist)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're in here, let's start using the digest package to perform these kinds of operations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The digest open is manifeslist, so I think there is nothing wrong with the use of manifestlist here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not what I said. I meant that if you're in the process of cleaning up, it would be better to use the go-digest package.
I've filed #513 to take care this, so don't worry about it.
looks good. please rebase |
@stevvooe Are you OK with @q384566678's response? |
@RobDolinMS No but I guess we can merge anyways. I've filed #513 to handle the concern. |
Signed-off-by: zhouhao <[email protected]>
4f1a95c
to
c9935fb
Compare
updated. PTAL |
Signed-off-by: zhouhao [email protected]