auth: cleanup saveConsistentIndex in NewAuthStore

This commit is contained in:
tangcong
2020-03-03 17:38:37 +08:00
parent 716821b9b5
commit e2abd97659

View File

@@ -1178,7 +1178,6 @@ func NewAuthStore(lg *zap.Logger, be backend.Backend, tp TokenProvider, bcryptCo
if as.Revision() == 0 {
as.commitRevision(tx)
as.saveConsistentIndex(tx)
}
as.setupMetricsReporter()