-
Notifications
You must be signed in to change notification settings - Fork 165
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
Handle nil build spec when reading creation time #1053
Conversation
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.
great catch!!
is a quick test worth it?
Ya I'll write one now |
@@ -349,6 +349,24 @@ func testImageBuilds(t *testing.T, when spec.G, it spec.S) { | |||
assert.Equal(t, image.Spec.Notary, build.Spec.Notary) | |||
assert.Equal(t, image.Spec.Cosign, build.Spec.Cosign) | |||
}) | |||
|
|||
it("sets the creation time when present", func() { |
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.
oh snap assumed we at least had this one
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.
great!
If you don't mind a little scope creep, do you mind adding documentation for |
f639297
to
5564c36
Compare
No description provided.