-
Notifications
You must be signed in to change notification settings - Fork 663
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
specs-go/v1: add annotations field to descriptor #551
specs-go/v1: add annotations field to descriptor #551
Conversation
LGTM |
9bdb5c5 looks good to me.
#501 also left them out of the schema, but #533 is fixing that missing
piece [1].
[1]: #533 (comment)
|
bump |
specs-go/v1/descriptor.go
Outdated
@@ -30,4 +30,7 @@ type Descriptor struct { | |||
|
|||
// URLs specifies a list of URLs from which this object MAY be downloaded | |||
URLs []string `json:"urls,omitempty"` | |||
|
|||
// Annotations contains arbitray metadata relating to the targeted content. | |||
Annotations map[string]string |
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.
from #570, this ought to have json:"annotations,omitempty"
9bdb5c5
to
9bbe0dd
Compare
@vbatts Added |
specs-go/v1/descriptor.go
Outdated
@@ -30,4 +30,7 @@ type Descriptor struct { | |||
|
|||
// URLs specifies a list of URLs from which this object MAY be downloaded | |||
URLs []string `json:"urls,omitempty"` | |||
|
|||
// Annotations contains arbitray metadata relating to the targeted content. |
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.
arbitrary
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.
Fixed.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
9bbe0dd
to
c14c499
Compare
Signed-off-by: Stephen J Day stephen.day@docker.com
@opencontainers/image-spec-maintainers PTAL