← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1359002] [NEW] comments misspelled in type_filter

 

Public bug reported:

the comments of nova.scheduler.filters.type_filter.py:

class TypeAffinityFilter(filters.BaseHostFilter):
...
def host_passes(self, host_state, filter_properties):
        """Dynamically limits hosts to one instance type

        Return False if host has any instance types other then the requested
        type. Return True if all instance types match or if host is empty.
        """
...


'other then' in the next-to-last line should be 'other than'

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1359002

Title:
  comments misspelled in type_filter

Status in OpenStack Compute (Nova):
  New

Bug description:
  the comments of nova.scheduler.filters.type_filter.py:

  class TypeAffinityFilter(filters.BaseHostFilter):
  ...
  def host_passes(self, host_state, filter_properties):
          """Dynamically limits hosts to one instance type

          Return False if host has any instance types other then the requested
          type. Return True if all instance types match or if host is empty.
          """
  ...

  
  'other then' in the next-to-last line should be 'other than'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1359002/+subscriptions


Follow ups

References