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: print is_admin as int instead of __u8 #12264

Merged
merged 1 commit into from Mar 13, 2017

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Dec 1, 2016

RGWUserInfo::admin is a __u8, so printing it directly results in output
like \00. this causes some tools to interpret the radosgw log as a
binary file

RGWUserInfo::admin is a __u8, so printing it directly results in output
like '\00'. this causes some tools to interpret the radosgw log as a
binary file

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Copy link
Member

@yehudasa yehudasa left a comment

Choose a reason for hiding this comment

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

lgtm

@cbodley cbodley merged commit 3fa11cf into ceph:master Mar 13, 2017
@cbodley cbodley deleted the wip-rgw-print-is-admin branch March 13, 2017 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants