Skip to content

Commit b318e88

Browse files
committed
Remove unneccesary conversion
Signed-off-by: Cody Soyland <[email protected]>
1 parent fd18122 commit b318e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/reconciler/trustroot/trustroot_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var sigstoreKeys = map[string]string{
139139
// https://github.com/golang/protobuf/issues/1121
140140
func canonicalizeSigstoreKeys(in []byte) []byte {
141141
keys := &config.SigstoreKeys{}
142-
err := protojson.Unmarshal([]byte(in), keys)
142+
err := protojson.Unmarshal(in, keys)
143143
if err != nil {
144144
panic(err)
145145
}

0 commit comments

Comments
 (0)