-
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
specs-go: add label to config.go #460
Conversation
@@ -45,6 +45,9 @@ type ImageConfig struct { | |||
|
|||
// WorkingDir sets the current working directory of the entrypoint process in the container. | |||
WorkingDir string `json:"WorkingDir,omitempty"` | |||
|
|||
// Labels contains arbitrary metadata for the container. | |||
Labels map[string]struct{} `json:"labels,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.
The spec calls for map[string]string
.
And we'll need JSON Schema work too, although that doesn't have to happen in this PR.
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.
@wking yes, it's map[string]string
.
And we'll need JSON Schema work too, although that doesn't have to happen in this PR.
working on it
d139900
to
a43effe
Compare
@coolljt0725 rebase please? |
Signed-off-by: Lei Jitang <leijitang@huawei.com>
Signed-off-by: Lei Jitang <leijitang@huawei.com>
@vbatts rebased |
1 similar comment
In order to fix a slight goof on the side of upstream (image-spec) we have to add a patch that includes opencontainers/image-spec#460 (which was _meant_ to be in v1.0.0-rc3 because the relevant spec change was included). Signed-off-by: Aleksa Sarai <asarai@suse.com>
In order to fix a slight goof on the side of upstream (image-spec) we have to add a patch that includes opencontainers/image-spec#460 (which was _meant_ to be in v1.0.0-rc3 because the relevant spec change was included). Signed-off-by: Aleksa Sarai <asarai@suse.com>
In order to fix a slight goof on the side of upstream (image-spec) we have to add a patch that includes opencontainers/image-spec#460 (which was _meant_ to be in v1.0.0-rc3 because the relevant spec change was included). Signed-off-by: Aleksa Sarai <asarai@suse.com>
Signed-off-by: Lei Jitang leijitang@huawei.com
follow up #371