Skip to content

Commit

Permalink
mon: MonmapMonitor: return success when monitor will be removed
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/17725

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
(cherry picked from commit c9d46cf)
  • Loading branch information
jecluis authored and Abhishek Varshney committed Nov 15, 2016
1 parent 6cf2916 commit fbdb01c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mon/MonmapMonitor.cc
Expand Up @@ -467,6 +467,7 @@ bool MonmapMonitor::prepare_command(MonOpRequestRef op)
ss << "removing mon." << name << " at " << addr
<< ", there will be " << pending_map.size() << " monitors" ;
propose = true;
err = 0;
goto reply;

} else {
Expand Down

0 comments on commit fbdb01c

Please sign in to comment.