From c22e6169996c666be6ef577992e80538afa2bedb Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 24 Aug 2016 14:16:02 -0400 Subject: [PATCH] Remove outdated comment. --- http/sys_seal.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/http/sys_seal.go b/http/sys_seal.go index 6caf7a3301..9a005fbccc 100644 --- a/http/sys_seal.go +++ b/http/sys_seal.go @@ -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()):