summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-10-04 21:05:21 -0400
committerScott Moser <smoser@ubuntu.com>2013-10-04 21:05:21 -0400
commit12f2fbf8588af097c3922d4398d59124687d6ded (patch)
treeeeceb9cafa7026beaa4c9da42bb936aa52572b72 /cloudinit/sources
parent54da96b3e4838ce8c13d27d80226cc17c80b384a (diff)
downloadvyos-cloud-init-12f2fbf8588af097c3922d4398d59124687d6ded.tar.gz
vyos-cloud-init-12f2fbf8588af097c3922d4398d59124687d6ded.zip
DataSourceSmartOS: remove unnecessary availability_zone attribute
The use of availability-zone or availability_zone is provided by the base classes's behavior.
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py7
1 files changed, 0 insertions, 7 deletions
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