]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph: print output of "status" as string not as bytes 21297/head
authorKefu Chai <kchai@redhat.com>
Mon, 9 Apr 2018 08:53:42 +0000 (16:53 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 10 Apr 2018 05:31:13 +0000 (13:31 +0800)
commit1d8c0438093af3f89e31d98f5608b0e2c56efca2
tree8be0ca76a8eaf53532bab56e0c129b22ee8091f0
parent3abe420365a2c04167399591696ee29a3a7974a1
ceph: print output of "status" as string not as bytes

in python3, the stuff read from wire is represented as "bytes", but
the output of "ceph -w" is supposed to be consumed by human. so decode
it as utf-8.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph.in