auth: cleanup saveConsistentIndex in NewAuthStore

This commit is contained in:
tangcong 2020-03-03 17:38:37 +08:00
parent ebe256d61c
commit 0d084d3a08

View File

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