diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-10-04 21:05:21 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-10-04 21:05:21 -0400 |
commit | 12f2fbf8588af097c3922d4398d59124687d6ded (patch) | |
tree | eeceb9cafa7026beaa4c9da42bb936aa52572b72 | |
parent | 54da96b3e4838ce8c13d27d80226cc17c80b384a (diff) | |
download | vyos-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.
-rw-r--r-- | cloudinit/sources/DataSourceSmartOS.py | 7 |
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 |