Skip to content

Commit

Permalink
Update notation.go
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Zheng <patrickzheng@microsoft.com>
Signed-off-by: Pritesh Bandi <priteshbandi@gmail.com>
  • Loading branch information
priteshbandi and Two-Hearts authored Jun 24, 2024
1 parent 735f4e5 commit 645d2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notation.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func validateContentMediaType(contentMediaType string) error {

func validateSigMediaType(sigMediaType string) error {
if !(sigMediaType == jws.MediaTypeEnvelope || sigMediaType == cose.MediaTypeEnvelope) {
return fmt.Errorf("invalid signature media-type '%s'", sigMediaType)
return fmt.Errorf("invalid signature media-type %q", sigMediaType)
}
return nil
}

0 comments on commit 645d2b4

Please sign in to comment.