mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-28 18:11:10 +02:00
fix swallowed error in vault package. (#2993)
This commit is contained in:
parent
64d412e111
commit
aade17cddc
@ -1313,6 +1313,12 @@ func (ts *TokenStore) handleTidy(req *logical.Request, data *framework.FieldData
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
te, err := ts.lookupSalted(saltedId, true)
|
te, err := ts.lookupSalted(saltedId, true)
|
||||||
|
if err != nil {
|
||||||
|
tidyErrors = multierror.Append(tidyErrors, fmt.Errorf("failed to lookup tainted ID: %v", err))
|
||||||
|
lock.RUnlock()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
lock.RUnlock()
|
lock.RUnlock()
|
||||||
|
|
||||||
// If token entry is not found assume that the token is not valid any
|
// If token entry is not found assume that the token is not valid any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user