mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 19:08:22 +00:00
fix state index for CAOpSetRootsAndConfig
op (#10675)
* fix state index for `CAOpSetRootsAndConfig` op * add changelog * Update changelog Co-authored-by: Daniel Nephin <dnephin@hashicorp.com> * remove the change log as it's not needed Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
This commit is contained in:
parent
2f6c95011b
commit
cfa9cf6d84
@ -462,7 +462,7 @@ func (c *FSM) applyConnectCAOperation(buf []byte, index uint64) interface{} {
|
||||
return act
|
||||
}
|
||||
|
||||
act, err = c.state.CACheckAndSetConfig(index+1, req.Config.ModifyIndex, req.Config)
|
||||
act, err = c.state.CACheckAndSetConfig(index, req.Config.ModifyIndex, req.Config)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user