]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Convert paths type from string to bytes 30057/head
authorVarsha Rao <varao@redhat.com>
Thu, 8 Aug 2019 12:46:21 +0000 (18:16 +0530)
committerVarsha Rao <varao@redhat.com>
Thu, 12 Sep 2019 11:29:34 +0000 (16:59 +0530)
commit0353ddfbf5fc73f15619c9d1a56b11f30652ab0a
tree99db608a724d114f9df2bf0d3e0decc4d980f073
parentc94580ad3beba39b5524c60e9a666ad9d304351b
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>
(cherry picked from commit 4c968b1)

Conflicts:
    src/tools/cephfs/cephfs-shell

- Indentation difference
src/tools/cephfs/cephfs-shell