Skip to content

Commit

Permalink
Merge pull request ceph#8612 from xiexingguo/xxg-wip-rpg
Browse files Browse the repository at this point in the history
osd/ReplicatedPG: fix implementation of register_on_success()

Reviewed-by: Samuel Just <[email protected]>
Reviewed-by:  Sage Weil <[email protected]>
  • Loading branch information
athanatos committed Apr 18, 2016
2 parents 27820f7 + 413b3e7 commit 985d3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/ReplicatedPG.h
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class ReplicatedPG : public PG, public PGBackend::Listener {
}
template <typename F>
void register_on_success(F &&f) {
on_finish.emplace_back(std::move(f));
on_success.emplace_back(std::move(f));
}
template <typename F>
void register_on_applied(F &&f) {
Expand Down

0 comments on commit 985d3a5

Please sign in to comment.