]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: rename variables to avoid name reuse
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jan 2021 09:20:29 +0000 (17:20 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 10:02:24 +0000 (18:02 +0800)
commit53415832cdbef94d2f3777e8f3abb8560b15323e
treeb5761ea2034d3bd1494128e8e563ce93d741a5d5
parenteb6603f1b52eda73d3b1ef92b03833c61ddd2223
pybind/mgr/cephadm: rename variables to avoid name reuse

to applease mypy, otherwise, for instance, "err" would be reused for
holding the return value of self.mgr.check_mon_command(...)

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/upgrade.py