]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Convert paths type from string to bytes 29552/head
authorVarsha Rao <varao@redhat.com>
Thu, 8 Aug 2019 12:46:21 +0000 (18:16 +0530)
committerVarsha Rao <varao@redhat.com>
Thu, 8 Aug 2019 13:12:57 +0000 (18:42 +0530)
commit4c968b1f30faab9f9013dee95043ccf5f38f5d20
tree404e86f6d076827c1acd3bed0c6ac135e3a83035
parent6d5939f8d100e56fa20b6c6fecf63f3421af5bdf
cephfs-shell: Convert paths type from string to bytes

Almost for all paths type is changed to bytes, by specifying custom byte
conversion action class and passing it to argparser add_argument() method.
While printing of paths and concating with colorama module arguments, paths
type is string.

Fixes: https://tracker.ceph.com/issues/41163
Signed-off-by: Varsha Rao <varao@redhat.com>
src/tools/cephfs/cephfs-shell