|
@@ -82,7 +82,7 @@ type ImageInspect struct {
|
|
|
// Depending on how the image was created, this field may be empty.
|
|
|
//
|
|
|
// Deprecated: this field is omitted in API v1.45, but kept for backward compatibility.
|
|
|
- Container string
|
|
|
+ Container string `json:",omitempty"`
|
|
|
|
|
|
// ContainerConfig is an optional field containing the configuration of the
|
|
|
// container that was last committed when creating the image.
|
|
@@ -91,7 +91,7 @@ type ImageInspect struct {
|
|
|
// and it is not in active use anymore.
|
|
|
//
|
|
|
// Deprecated: this field is omitted in API v1.45, but kept for backward compatibility.
|
|
|
- ContainerConfig *container.Config
|
|
|
+ ContainerConfig *container.Config `json:",omitempty"`
|
|
|
|
|
|
// DockerVersion is the version of Docker that was used to build the image.
|
|
|
//
|