mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
govet: suppress warning about Parent field that repeated json tag "parent"
``` image/image.go:65:2: structtag: struct field Parent repeats json tag "parent" also at image.go:39 (govet) Parent ID `json:"parent,omitempty"` ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ac827a7fff
commit
d78b667af6
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ type V1Image struct {
|
||||||
// Image stores the image configuration
|
// Image stores the image configuration
|
||||||
type Image struct {
|
type Image struct {
|
||||||
V1Image
|
V1Image
|
||||||
Parent ID `json:"parent,omitempty"`
|
Parent ID `json:"parent,omitempty"` //nolint:govet
|
||||||
RootFS *RootFS `json:"rootfs,omitempty"`
|
RootFS *RootFS `json:"rootfs,omitempty"`
|
||||||
History []History `json:"history,omitempty"`
|
History []History `json:"history,omitempty"`
|
||||||
OSVersion string `json:"os.version,omitempty"`
|
OSVersion string `json:"os.version,omitempty"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue