Skip to content

Commit

Permalink
etcdserver: call refreshRangePermCache on Recover() in AuthStore. etc…
Browse files Browse the repository at this point in the history
…d-io#14574

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
  • Loading branch information
mitake committed Oct 29, 2022
1 parent efb9480 commit 1e96e0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/auth/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ func (as *authStore) Recover(be backend.Backend) {
}

as.setRevision(getRevision(tx))
as.refreshRangePermCache(tx)

tx.Unlock()

Expand Down

0 comments on commit 1e96e0b

Please sign in to comment.