forked from ceph/ceph
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon: Rearrange Paxos::dispatch to be a little cleaner
The Message is actually always a MMonPaxos (which is not a subtype of PaxosServiceMessage, so that whole thing was wrong!). This lets us clean up the switch quite a bit and correct the odd casts going around. Signed-off-by: Greg Farnum <gfarnum@redhat.com>
- Loading branch information
1 parent
0dd2d0f
commit 0c85f8f
Showing
1 changed file
with
35 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters