fix spelling

This commit is contained in:
ston1th 2020-11-15 18:51:04 +01:00
commit ce7d138c60
3 changed files with 3 additions and 3 deletions

View file

@ -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
}