Skip to content

Commit 8ad3de8

Browse files
Address Sergei Comments
Signed-off-by: Yogesh Deshpande <[email protected]>
1 parent 8d5f38d commit 8ad3de8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/common.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"strings"
1111

1212
"github.com/spf13/afero"
13-
"github.com/veraison/corim/comid"
1413
"github.com/veraison/corim/corim"
1514
"github.com/veraison/corim/cots"
1615
"github.com/veraison/eat"
@@ -90,10 +89,7 @@ func printComidWithExtensions(cbor []byte, profile *eat.Profile, heading string)
9089
}
9190

9291
func printComid(cbor []byte, profile *eat.Profile, heading string) error {
93-
if profile != nil {
94-
return printComidWithExtensions(cbor, profile, heading)
95-
}
96-
return printJSONFromCBOR(&comid.Comid{}, cbor, heading)
92+
return printComidWithExtensions(cbor, profile, heading)
9793
}
9894

9995
func printCoswid(cbor []byte, heading string) error {

0 commit comments

Comments
 (0)