Reviewed: https://review.openstack.org/611637 Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=f6c6dbdf9da59e6cfff9e64590765c9066857530 Submitter: Zuul Branch: master
commit f6c6dbdf9da59e6cfff9e64590765c9066857530 Author: Lucian Petrut <email address hidden> Date: Thu Oct 18 17:23:27 2018 +0300
Refactor instance state change event handler
We ended up having too much logic in the event handler. This change trims it down, making it easier to add callbacks.
The actions taken when receiving events are now moved out of the event handler, being registered as callbacks.
Related-Bug: #1799163 Change-Id: Ie93aa0e184c5ff9daef4e857e212bb54e9473a78
Reviewed: https:/ /review. openstack. org/611637 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=f6c6dbdf9da 59e6cfff9e64590 765c9066857530
Committed: https:/
Submitter: Zuul
Branch: master
commit f6c6dbdf9da59e6 cfff9e64590765c 9066857530
Author: Lucian Petrut <email address hidden>
Date: Thu Oct 18 17:23:27 2018 +0300
Refactor instance state change event handler
We ended up having too much logic in the event handler. This change
trims it down, making it easier to add callbacks.
The actions taken when receiving events are now moved out of the
event handler, being registered as callbacks.
Related-Bug: #1799163 9daef4e857e212b b54e9473a78
Change-Id: Ie93aa0e184c5ff