Skip to content

Commit 7b2642d

Browse files
Erik HollensbeErik Hollensbe
Erik Hollensbe
authored and
Erik Hollensbe
committed
specs-go/v1/config.go: Capitalize Labels
This field was not similar to the other fields and causes problems when dealing with using this struct to convert between docker v1 and oci v1 repositories (I cheat a little by doing this, I realize it's not a long term solution). Still, this seems out of place and I wanted to fix it while I noticed. Signed-off-by: Erik Hollensbe <[email protected]>
1 parent 8c4919e commit 7b2642d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/v1/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type ImageConfig struct {
4444
WorkingDir string `json:"WorkingDir,omitempty"`
4545

4646
// Labels contains arbitrary metadata for the container.
47-
Labels map[string]string `json:"labels,omitempty"`
47+
Labels map[string]string `json:"Labels,omitempty"`
4848

4949
// StopSignal contains the system call signal that will be sent to the container to exit.
5050
StopSignal string `json:"StopSignal,omitempty"`

0 commit comments

Comments
 (0)