Skip to content

Commit

Permalink
Update root.bundle label
Browse files Browse the repository at this point in the history
- add context to the fact this label is to do with 'copying' a bundle

Authored-by: Dennis Leon <leonde@vmware.com>
  • Loading branch information
DennisDenuto authored and cppforlife committed Jul 12, 2021
1 parent 6e05782 commit f751a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/imgpkg/cmd/copy_repo_src_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ func assertTarballContainsOnlyDistributableLayers(imageTarPath string, t *testin

func assertTarballLabelsOuterBundle(imageTarPath string, outerBundleRef string, t *testing.T) {
tarReader := imagetar.NewTarReader(imageTarPath)
imageReferencesFound, err := tarReader.FindByLabelKey("root.bundle")
imageReferencesFound, err := tarReader.FindByLabelKey("dev.carvel.imgpkg.copy.root-bundle")
assert.NoError(t, err)

assert.NotNil(t, imageReferencesFound)
Expand Down
2 changes: 1 addition & 1 deletion pkg/imgpkg/imageset/tar_image_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/k14s/imgpkg/pkg/imgpkg/imagetar"
)

const rootBundleLabelKey string = "root.bundle"
const rootBundleLabelKey string = "dev.carvel.imgpkg.copy.root-bundle"

type TarImageSet struct {
imageSet ImageSet
Expand Down

0 comments on commit f751a37

Please sign in to comment.