mirror of https://github.com/status-im/consul.git
fix state index for `CAOpSetRootsAndConfig` op
This commit is contained in:
parent
c6859b3fb0
commit
4c9c9672ac
|
@ -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…
Reference in New Issue