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

Projects
None yet
2 participants
@cbodley
Contributor

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

rgw: print is_admin as int instead of __u8
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>
@yehudasa

lgtm

@cbodley cbodley merged commit 3fa11cf into ceph:master Mar 13, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@cbodley cbodley deleted the cbodley:wip-rgw-print-is-admin branch Mar 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment