diff options
author | Arata Notsu <notsu@virtualtech.jp> | 2012-11-08 01:00:26 +0900 |
---|---|---|
committer | Arata Notsu <notsu@virtualtech.jp> | 2012-11-08 01:00:26 +0900 |
commit | 7af5bdd41dccd62ee19953b3616bd9d0863253f7 (patch) | |
tree | e41b3760023e4a796848c08edd78cdfb066b36ff /nova/exception.py | |
parent | 066b3930cfffcd532ed70360902a14d8155289d4 (diff) | |
download | nova-7af5bdd41dccd62ee19953b3616bd9d0863253f7.tar.gz nova-7af5bdd41dccd62ee19953b3616bd9d0863253f7.tar.xz nova-7af5bdd41dccd62ee19953b3616bd9d0863253f7.zip |
Make HostManager.get_all_host_states() return an iterator
Change the method's returning from a dictionary {host: HostState}
to an iterator for HostState, because the only caller of the method
(in filter_scheduler.py) is not interested in its key.
Change-Id: I84f649795a422e392a4c0d555c6cb29a01fae2d9
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions