mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-10 17:32:29 -04:00
Remove outdated comment.
This commit is contained in:
parent
a82b44df3d
commit
c22e616999
1 changed files with 0 additions and 2 deletions
|
|
@ -116,8 +116,6 @@ func handleSysUnseal(core *vault.Core) http.Handler {
|
|||
|
||||
// Attempt the unseal
|
||||
if _, err := core.Unseal(key); err != nil {
|
||||
// Ignore ErrInvalidKey because its a user error that we
|
||||
// mask away. We just show them the seal status.
|
||||
switch {
|
||||
case errwrap.ContainsType(err, new(vault.ErrInvalidKey)):
|
||||
case errwrap.Contains(err, vault.ErrBarrierInvalidKey.Error()):
|
||||
|
|
|
|||
Loading…
Reference in a new issue