DataSourceSmartOS: remove unnecessary availability_zone attribute

The use of availability-zone or availability_zone is provided by the base
classes's behavior.
This commit is contained in:
Scott Moser 2013-10-04 21:05:21 -04:00
parent 3a25f5468f
commit 87c384bad6
1 changed files with 0 additions and 7 deletions

View File

@ -176,13 +176,6 @@ class DataSourceSmartOS(sources.DataSource):
seed_timeout=self.seed_timeout, default=default,
b64=b64)
@property
def availability_zone(self):
try:
return self.metadata['availability-zone']
except KeyError:
return None
def get_serial(seed_device, seed_timeout):
"""This is replaced in unit testing, allowing us to replace