Address review feedback

This commit is contained in:
vishalnayak 2016-12-20 11:19:47 -05:00
parent b3e323bbcc
commit 1816446f46
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func revokeCert(b *backend, req *logical.Request, serial string, fromLease bool)
revInfo.RevocationTime = currTime.Unix()
revInfo.RevocationTimeUTC = currTime.UTC()
revEntry, err := logical.StorageEntryJSON("revoked/"+serial, revInfo)
revEntry, err = logical.StorageEntryJSON("revoked/"+serial, revInfo)
if err != nil {
return nil, fmt.Errorf("Error creating revocation entry")
}