vault: fixing a typo

This commit is contained in:
Armon Dadgar 2015-06-02 16:04:05 +02:00
parent 6399e69810
commit 9700bcd3e5

View file

@ -100,7 +100,7 @@ func (k *Keyring) AddKey(key *Key) (*Keyring, error) {
return clone, nil
}
// RemoveKey removes a new key to the keyring
// RemoveKey removes a key from the keyring
func (k *Keyring) RemoveKey(term uint32) (*Keyring, error) {
// Ensure this is not the active key
if term == k.activeTerm {