Skip to content

Commit

Permalink
rbd-mirror: fix two typos.
Browse files Browse the repository at this point in the history
Signed-off-by: Shiyang Ruan <[email protected]>
  • Loading branch information
irides committed Nov 19, 2018
1 parent 5965aff commit 3498c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/rbd_mirror/LeaderWatcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ void LeaderWatcher<I>::handle_break_leader_lock(int r) {
}

if (r < 0 && r != -ENOENT) {
derr << "error beaking leader lock: " << cpp_strerror(r) << dendl;
derr << "error breaking leader lock: " << cpp_strerror(r) << dendl;
schedule_acquire_leader_lock(1);
m_timer_op_tracker.finish_op();
return;
Expand Down Expand Up @@ -982,7 +982,7 @@ void LeaderWatcher<I>::handle_notify_heartbeat(int r) {
}

if (r < 0 && r != -ETIMEDOUT) {
derr << "error notifying hearbeat: " << cpp_strerror(r)
derr << "error notifying heartbeat: " << cpp_strerror(r)
<< ", releasing leader" << dendl;
release_leader_lock();
return;
Expand Down

0 comments on commit 3498c37

Please sign in to comment.