Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raftpb.ConfChange also include ConfChangeUpdateNode #1711

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

lixiaobing1
Copy link
Contributor

raftpb.ConfChange also include ConfChangeUpdateNode, log info should add this type.

@codecov-io
Copy link

codecov-io commented Oct 28, 2016

Current coverage is 55.93% (diff: 0.00%)

Merging #1711 into master will increase coverage by 0.05%

@@             master      #1711   diff @@
==========================================
  Files            93         93          
  Lines         14782      14782          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           8260       8268     +8   
+ Misses         5436       5430     -6   
+ Partials       1086       1084     -2   

Sunburst

Powered by Codecov. Last update 137c3d1...661128f

@@ -1689,7 +1689,7 @@ func getIDs(snap *raftpb.Snapshot, ents []raftpb.Entry) []uint64 {
case raftpb.ConfChangeUpdateNode:
// do nothing
default:
log.L.Panic("ConfChange Type should be either ConfChangeAddNode or ConfChangeRemoveNode!")
log.L.Panic("ConfChange Type should be either ConfChangeAddNode,or ConfChangeRemoveNode,or ConfChangeUpdateNode!")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add spaces after the commas.

@lixiaobing1
Copy link
Contributor Author

ok, has been modified:)

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
@aaronlehmann
Copy link
Collaborator

LGTM

@aaronlehmann aaronlehmann merged commit e5f95e1 into moby:master Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants