]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/orchestrator: use finalize to set TrivialReadCompletion result
authorTim Serong <tserong@suse.com>
Mon, 25 Nov 2019 04:43:25 +0000 (15:43 +1100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 27 Nov 2019 12:39:12 +0000 (13:39 +0100)
commit0eaa7710c0a8f514ddf5c8fcabad1c3e0d012fc9
treeb482e4920a8932cf2980610faad1587af9ac6798
parent7b95f0316db1ce1b0192926f9c12167c97a48c67
mgr/orchestrator: use finalize to set TrivialReadCompletion result

This is needed to correctly set the state of the completion, so that
Completion.has_result returns true.  Without this, _orchestrator_wait()
will spin forever if given a TrivialReadCompletion.

Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/orchestrator.py
src/pybind/mgr/orchestrator_cli/module.py