-
Notifications
You must be signed in to change notification settings - Fork 30
Conversation
Signed-off-by: Aviral Takkar <[email protected]>
specs-go/v1/manifest.go
Outdated
@@ -28,7 +28,7 @@ type Manifest struct { | |||
|
|||
// Subject is an optional reference to any existing manifest within the repository. | |||
// When specified, the artifact is said to be dependent upon the referenced subject. | |||
Subject Descriptor `json:"subject"` | |||
Subject Descriptor `json:"subject,omitempty"` |
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.
How about this?
Subject Descriptor `json:"subject,omitempty"` | |
Subject *Descriptor `json:"subject,omitempty"` |
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.
Thanks, updated
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.
Do you consider to update other optional string properties in the spec?
Signed-off-by: Aviral Takkar <[email protected]>
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.
LGTM
/cc @michaelb990 |
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.
LGTM, thanks!
No description provided.