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

rgw: remove a redundant judgement when listng objects. #10849

Merged
merged 1 commit into from Oct 7, 2016

Conversation

zhangsw
Copy link
Contributor

@zhangsw zhangsw commented Aug 25, 2016

The judgement is redundant because '!params.delim.empty()' has been judged just before this judgement. So i merge the two judgement into one.
Signed-off-by: Zhang Shaowen zhangshaowen@cmss.chinamobile.com

Signed-off-by: Zhang Shaowen zhangshaowen@cmss.chinamobile.com
@zhangsw
Copy link
Contributor Author

zhangsw commented Aug 30, 2016

Could you have a look at this commit ? Thank you very much ~@yehudasa @cbodley

@mattbenjamin
Copy link
Contributor

@zhangsw this change looks logically correct, though the eff. gain is pretty small (1 branch in the have-delimiter case). I assume this is waiting on automated tests.

@mattbenjamin mattbenjamin self-assigned this Sep 8, 2016
@yehudasa yehudasa merged commit 4e62c99 into ceph:master Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants