Skip to content
Snippets Groups Projects
Unverified Commit 7a98c3ba authored by Appu's avatar Appu Committed by GitHub
Browse files

Fix old lint issue (#331)


Signed-off-by: default avatarAppu Goundan <appu@google.com>
parent 687ce578
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ func Decode(b []byte) (*Signature, error) {
return nil, fmt.Errorf("unsupported signature version: %d", sig.Version)
}
if string(sig.MagicHeader[:]) != magicHeader {
return nil, fmt.Errorf("invalid magic header: %s", sig.MagicHeader)
return nil, fmt.Errorf("invalid magic header: %s", sig.MagicHeader[:])
}
if sig.Namespace != "file" {
return nil, fmt.Errorf("invalid signature namespace: %s", sig.Namespace)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment