mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Revert 'risky' changes
This commit is contained in:
@@ -466,7 +466,7 @@ func (b *Backend) handleWALRollback(
|
||||
}
|
||||
|
||||
// If the entry isn't old enough, then don't roll it back
|
||||
if !entry.CreatedAt.Before(minAge) {
|
||||
if !time.Unix(entry.CreatedAt, 0).Before(minAge) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user