diff options
| author | Jiajun Liu <jiajun@unitedstack.com> | 2013-05-24 08:25:42 +0000 |
|---|---|---|
| committer | Jiajun Liu <jiajun@unitedstack.com> | 2013-05-27 10:09:05 +0000 |
| commit | 26d65e6f04977cdca406478fe6b32315860c0fd3 (patch) | |
| tree | 402abbbf1995e4b912a774672c2f21e98085c97f | |
| parent | 6994e19b68785539a4ea6522a7e898ee6d8b09d6 (diff) | |
fix a misleading docstring
GroupAntiAffinityFilter was introduced to filter a set of hosts,
howerver the docstring saying filter a set of instances which need to be
fixed.
Change-Id: Icf66a3ad15b4135c06e2e2ccc62837a346fcfdf7
| -rw-r--r-- | nova/scheduler/filters/affinity_filter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/scheduler/filters/affinity_filter.py b/nova/scheduler/filters/affinity_filter.py index bb7cb4aff..ed2fa5603 100644 --- a/nova/scheduler/filters/affinity_filter.py +++ b/nova/scheduler/filters/affinity_filter.py @@ -87,7 +87,7 @@ class SimpleCIDRAffinityFilter(AffinityFilter): class GroupAntiAffinityFilter(AffinityFilter): """Schedule the instance on a different host from a set of group - instances. + hosts. """ def host_passes(self, host_state, filter_properties): |
