etcdserver: update panic info

This commit is contained in:
Yicheng Qin 2014-10-07 10:59:02 -07:00
parent 3859297225
commit 6a62621695

View File

@ -531,7 +531,7 @@ func (s *EtcdServer) applyConfChange(cc raftpb.ConfChange) {
panic("unexpected unmarshal error")
}
if cc.NodeID != m.ID {
panic("unmatch node id")
panic("unexpected nodeID mismatch")
}
s.ClusterStore.Create(m)
case raftpb.ConfChangeRemoveNode: