Revert 'risky' changes

This commit is contained in:
vishalnayak
2016-07-12 16:28:27 -04:00
parent f59a69bc52
commit 9f208ae8f2
15 changed files with 53 additions and 58 deletions

View File

@@ -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
}