fix spelling
This commit is contained in:
parent
85a8ba23bd
commit
ce7d138c60
3 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ func (f *fsm) Apply(l *raft.Log) interface{} {
|
|||
case DELETE:
|
||||
f.applyDelete(c.K)
|
||||
default:
|
||||
panic(fmt.Sprintf("unrecognized command op: %s", c.Op))
|
||||
panic(fmt.Sprintf("unrecognized command op: %d", c.Op))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue