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

mon: remove the redudant jugement in LogMonitor tick function #10474

Merged
1 commit merged into from Nov 23, 2016

Conversation

songbaisen
Copy link

mon: remove the redudant jugement in LogMonitor tick function

Signed-off-by: song baisen song.baisen@zte.com.cn

Signed-off-by: song baisen <song.baisen@zte.com.cn>
@ghost
Copy link

ghost commented Nov 23, 2016

@jecluis looks redundant to me :-) Unless is_leader() has a desirable side effect ?

Copy link
Member

@jecluis jecluis left a comment

Choose a reason for hiding this comment

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

Yeah, this looks like the remnants of something long forgotten. lgtm

@ghost ghost merged commit 15433bf into ceph:master Nov 23, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants