fix swallowed error in vault package. (#2993)
This commit is contained in:
parent
7c761b8414
commit
b851d88d68
|
@ -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…
Reference in New Issue