Fix unexpected error.

This commit is contained in:
Mariano Cano 2020-10-26 19:51:29 -07:00
parent 9270d432ea
commit b68344ec36

View file

@ -354,7 +354,7 @@ func createKeyVersionSpec(alg kmsapi.SignatureAlgorithm, bits int) (*pb.Certific
},
}, nil
default:
return nil, fmt.Errorf("unknown or unsupported signature algorithm '%s'", bits)
return nil, fmt.Errorf("unknown or unsupported signature algorithm '%s'", alg)
}
}