avoid one unnecessary _get_power_state call
Bug #1589960 reported by
jichenjc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
jichenjc |
Bug Description
https:/
has _get_power_state in its function in
https:/
then we call it again
https:/
actually there is no state change in _retry_reboot function
so we can reuse the state as variable and avoid mock in test
Changed in nova: | |
assignee: | nobody → jichenjc (jichenjc) |
tags: | added: compute |
Changed in nova: | |
importance: | Undecided → Low |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/326431
Review: https:/