forked from TrueCloudLab/certificates
Fix typos.
This commit is contained in:
parent
d02cb1c869
commit
97d08a1b61
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ func vaultBaseURL(vault string) string {
|
|||
func convertKey(key *keyvault.JSONWebKey) (crypto.PublicKey, error) {
|
||||
b, err := json.Marshal(key)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "error marshalling key")
|
||||
return nil, errors.Wrap(err, "error marshaling key")
|
||||
}
|
||||
var jwk jose.JSONWebKey
|
||||
if err := jwk.UnmarshalJSON(b); err != nil {
|
||||
return nil, errors.Wrap(err, "error unmarshalling key")
|
||||
return nil, errors.Wrap(err, "error unmarshaling key")
|
||||
}
|
||||
return jwk.Key, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue