]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: define HandleCommandResult using NamedTuple
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jan 2021 06:08:39 +0000 (14:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 10:02:24 +0000 (18:02 +0800)
commitd139166ea7514d113a41c28dae59184e3d2101d0
tree6cbc879700a24da286afe7aeea26788ab54ef585
parentab0243b31946e058ecb41a2a04aedd8459b89bbb
pybind/mgr: define HandleCommandResult using NamedTuple

simpler this way, so we don't need to define __new__

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