Skip to content

Commit 2669b33

Browse files
committed
docker says no negatives
Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
1 parent f75911c commit 2669b33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

remotes/fixup.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"github.com/cnabio/cnab-go/bundle"
1010
"github.com/cnabio/cnab-to-oci/relocation"
1111
"github.com/containerd/containerd/images"
12-
"github.com/containerd/containerd/log"
13-
"github.com/containerd/containerd/platforms"
1412
"github.com/containerd/containerd/remotes"
13+
"github.com/containerd/log"
14+
"github.com/containerd/platforms"
1515
"github.com/docker/distribution/reference"
1616
"github.com/hashicorp/go-multierror"
1717
ocischemav1 "github.com/opencontainers/image-spec/specs-go/v1"

remotes/fixup_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func TestFixupBundleCheckResolveOrder(t *testing.T) {
384384
// Second image "local-push"
385385
// not resolvable from relocation map
386386
{
387-
Size: -1,
387+
Size: 0,
388388
},
389389
// not resolvable from bundle
390390
{
@@ -414,7 +414,7 @@ func TestFixupBundleCheckResolveOrder(t *testing.T) {
414414
// Fourth image "not-in-relocation-but-local"
415415
// not resolvable
416416
{
417-
Size: -1,
417+
Size: 0,
418418
},
419419
// image is pushed, resolve is called at the end
420420
{

0 commit comments

Comments
 (0)