]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: OpSmException.error -> OpSmException.errno 33674/head
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 15:22:57 +0000 (08:22 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 5 Mar 2020 20:19:34 +0000 (13:19 -0700)
commit7fa4da445650fd4a9f799c48ba513cb6f1a0d26c
treefcba90d384317fa36162ac9465acc180e1a0f1eb
parenta09af07cb69fbca68f08b5740036cf52aa6f3c27
mgr/volumes: OpSmException.error -> OpSmException.errno

fixes mypy errors:

volumes/fs/async_cloner.py: note: In function "handle_clone_pending":
volumes/fs/async_cloner.py:71: error: "OpSmException" has no attribute "error"; maybe "errno"?

volumes/fs/async_cloner.py: note: In function "handle_clone_in_progress":
volumes/fs/async_cloner.py:139: error: "OpSmException" has no attribute "error"; maybe "errno"?

Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/volumes/fs/async_cloner.py