Skip to content

Commit 5d0c865

Browse files
committed
fix tests
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent bc2ed71 commit 5d0c865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/attestation/crafter/materials/cyclonedxjson.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func (i *CyclonedxJSONCrafter) extractMainComponent(rawFile []byte) (*SBOMMainCo
156156
}
157157

158158
return &SBOMMainComponentInfo{
159-
name: ref.Context().RepositoryStr(),
159+
name: ref.Context().String(),
160160
kind: component.Type,
161161
version: component.Version,
162162
}, nil

0 commit comments

Comments
 (0)