Browse Source

etcdserver: update panic info

Yicheng Qin 11 years ago
parent
commit
6a62621695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver/server.go

+ 1 - 1
etcdserver/server.go

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