Missed some flavor references in the AZ methods

Bad copy/paste T_T

Change-Id: I898d468aca1a08a1acf2c0a2c4c2a642e7adc780
This commit is contained in:
Adam Harwell 2019-12-13 15:10:48 -08:00
parent 7f07b9eab9
commit 9e60548de8
1 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ class ProviderDriver(object):
:returns: The availability zone metadata dictionary :returns: The availability zone metadata dictionary
:raises DriverError: An unexpected error occurred in the driver. :raises DriverError: An unexpected error occurred in the driver.
:raises NotImplementedError: The driver does not support flavors. :raises NotImplementedError: The driver does not support AZs.
""" """
raise exceptions.NotImplementedError( raise exceptions.NotImplementedError(
user_fault_string='This provider does not support getting the ' user_fault_string='This provider does not support getting the '
@ -511,7 +511,7 @@ class ProviderDriver(object):
operator_fault_string='This provider does not support getting ' operator_fault_string='This provider does not support getting '
'the supported availability zone metadata.') 'the supported availability zone metadata.')
def validate_availability_zone(self, flavor_metadata): def validate_availability_zone(self, availability_zone_metadata):
"""Validates if driver can support the availability zone. """Validates if driver can support the availability zone.
:param availability_zone_metadata: Dictionary with az metadata. :param availability_zone_metadata: Dictionary with az metadata.