Fix unexpected error.
This commit is contained in:
parent
9270d432ea
commit
b68344ec36
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ func createKeyVersionSpec(alg kmsapi.SignatureAlgorithm, bits int) (*pb.Certific
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("unknown or unsupported signature algorithm '%s'", bits)
|
return nil, fmt.Errorf("unknown or unsupported signature algorithm '%s'", alg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue