From b1b7c8cae3f4f62a59088fbda0787bfb9b52707e Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Wed, 21 Aug 2019 16:01:25 +0200 Subject: [PATCH] Bump cnab-go to v0.3.2-beta1 Signed-off-by: Silvin Lubecki --- Gopkg.lock | 4 ++-- Gopkg.toml | 2 +- vendor/github.com/deislabs/cnab-go/bundle/bundle.go | 7 +------ 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 9d691b6..f66acb1 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -74,14 +74,14 @@ revision = "004b46473808b3e7a4a3049c20e4376c91eb966d" [[projects]] - digest = "1:77b677c3ef3183aca2f356a2cf8ab844c06aa860b2037684fa92cb4c909a0e96" + digest = "1:fe5c5c8c7ca3074c4e2df42c39b7572facf9b90280eb74d635bd5140c4f03535" name = "github.com/deislabs/cnab-go" packages = [ "bundle", "bundle/definition", ] pruneopts = "UT" - revision = "v0.3.0-beta1" + revision = "v0.3.2-beta1" [[projects]] digest = "1:982e3778851f5bb802c164c0baffa67eb7447b189211a08dd18acaa03b4d30c0" diff --git a/Gopkg.toml b/Gopkg.toml index 35eaef0..3afb179 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -30,7 +30,7 @@ [[constraint]] name = "github.com/deislabs/cnab-go" - revision = "v0.3.0-beta1" + revision = "v0.3.2-beta1" # Use master while we wait for https://github.com/containerd/containerd/pull/3218 to be included in the release [[constraint]] diff --git a/vendor/github.com/deislabs/cnab-go/bundle/bundle.go b/vendor/github.com/deislabs/cnab-go/bundle/bundle.go index 3c2568a..3c34499 100644 --- a/vendor/github.com/deislabs/cnab-go/bundle/bundle.go +++ b/vendor/github.com/deislabs/cnab-go/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"` @@ -98,11 +98,6 @@ type InvocationImage struct { BaseImage `yaml:",inline"` } -// ImageRelocationMap stores the relocated images -// The key is the Image in bundle.json and the value is the new Image -// from the relocated registry -type ImageRelocationMap map[string]string - // Location provides the location where a value should be written in // the invocation image. //