mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
auth: cleanup saveConsistentIndex in NewAuthStore
This commit is contained in:
parent
e7291a1dab
commit
acd9422459
@ -968,7 +968,6 @@ func NewAuthStore(be backend.Backend, tp TokenProvider) *authStore {
|
||||
|
||||
if as.Revision() == 0 {
|
||||
as.commitRevision(tx)
|
||||
as.saveConsistentIndex(tx)
|
||||
}
|
||||
|
||||
as.setupMetricsReporter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user