Skip to content

Commit 1a3d447

Browse files
committed
handle implicit version part of an artifact identity
1 parent 970c7bf commit 1a3d447

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

api/ocm/plugin/ppi/cmds/transferhandler/cmd.go

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88

99
"github.com/spf13/cobra"
1010
"github.com/spf13/pflag"
11+
1112
"ocm.software/ocm/api/ocm/plugin/ppi"
1213
)
1314

api/ocm/tools/transfer/transferhandler/standard/transfer_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ func CheckBlob(r ocm.ResourceAccess, dig string, size int) {
280280
set := Must(artifactset.OpenFromBlob(accessobj.ACC_READONLY, blob))
281281
defer Close(set, "set")
282282

283+
// data := Must(json.Marshal(set.GetIndex()))
284+
// fmt.Printf("%s\n", string(data))
285+
283286
digest := set.GetMain()
284287
ExpectWithOffset(1, digest.Hex()).To(Equal(dig))
285288

0 commit comments

Comments
 (0)