diff --git a/bundle/bundle.go b/bundle/bundle.go index 3c2568a7..efcf7bbc 100644 --- a/bundle/bundle.go +++ b/bundle/bundle.go @@ -81,7 +81,7 @@ type LocationRef struct { type BaseImage struct { ImageType string `json:"imageType" yaml:"imageType"` Image string `json:"image" yaml:"image"` - Digest string `json:"contentDigest,omitempty" yaml:"contentDigest"` + Digest string `json:"contentDigest,omitempty" yaml:"contentDigest,omitempty"` Size uint64 `json:"size,omitempty" yaml:"size,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` MediaType string `json:"mediaType,omitempty" yaml:"mediaType,omitempty"` diff --git a/testdata/bundles/bundle.yaml b/testdata/bundles/bundle.yaml index 6567210e..91c88908 100644 --- a/testdata/bundles/bundle.yaml +++ b/testdata/bundles/bundle.yaml @@ -5,14 +5,12 @@ description: something invocationImages: - imageType: docker image: deislabs/invocation-image:1.0 - contentDigest: "" labels: os: Linux images: server: imageType: docker image: nginx:1.0 - contentDigest: "" description: complicated parameters: enabled: