From b68344ec36a230cd7e1c8f14c5db5dd2f2db5ab0 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Mon, 26 Oct 2020 19:51:29 -0700 Subject: [PATCH] Fix unexpected error. --- cas/cloudcas/certificate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas/cloudcas/certificate.go b/cas/cloudcas/certificate.go index 51e221b4..ba823d86 100644 --- a/cas/cloudcas/certificate.go +++ b/cas/cloudcas/certificate.go @@ -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) } }