From 12f2fbf8588af097c3922d4398d59124687d6ded Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 4 Oct 2013 21:05:21 -0400 Subject: DataSourceSmartOS: remove unnecessary availability_zone attribute The use of availability-zone or availability_zone is provided by the base classes's behavior. --- cloudinit/sources/DataSourceSmartOS.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cloudinit') diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py index 2813ffb3..ba7e6acc 100644 --- a/cloudinit/sources/DataSourceSmartOS.py +++ b/cloudinit/sources/DataSourceSmartOS.py @@ -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 -- cgit v1.2.3