]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Remove get_error_code() call on OSError type exception objects 34890/head
authorVarsha Rao <varao@redhat.com>
Mon, 4 May 2020 12:07:04 +0000 (17:37 +0530)
committerVarsha Rao <varao@redhat.com>
Fri, 8 May 2020 07:45:30 +0000 (13:15 +0530)
commitef75ea4afb889c51997a47f2512b3733241dc0eb
tree287fac87d2f52917d7a0dc311d534bb861698e9d
parent43b21dfc61977f159283aa9d7a686e0704970221
cephfs-shell: Remove get_error_code() call on OSError type exception objects

OSError type exception has no attribute 'get_error_code'. Insead use errno to
fetch error code.

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