mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-12 10:21:47 -04:00
Fixed return types
This commit is contained in:
parent
d256ae265b
commit
50811daa5f
1 changed files with 2 additions and 2 deletions
|
|
@ -274,10 +274,10 @@ func (c *Core) ValidateWrappingToken(req *logical.Request) (bool, error) {
|
|||
c.stateLock.RLock()
|
||||
defer c.stateLock.RUnlock()
|
||||
if c.sealed {
|
||||
return nil, ErrSealed
|
||||
return false, ErrSealed
|
||||
}
|
||||
if c.standby {
|
||||
return nil, ErrStandby
|
||||
return false, ErrStandby
|
||||
}
|
||||
|
||||
te, err := c.tokenStore.Lookup(token)
|
||||
|
|
|
|||
Loading…
Reference in a new issue