summaryrefslogtreecommitdiff
path: root/cloudinit/sources/__init__.py
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2015-07-22 13:06:34 +0100
committerDaniel Watkins <daniel.watkins@canonical.com>2015-07-22 13:06:34 +0100
commit73c5bbfa31b922a0ba403216c0fc1f63b22a9262 (patch)
tree95d5ed3c147b880c3d547d7df115b327a4b5d0b5 /cloudinit/sources/__init__.py
parentb5230bc3e9d65692093cae9d2f4ca628435a382b (diff)
downloadvyos-cloud-init-73c5bbfa31b922a0ba403216c0fc1f63b22a9262.tar.gz
vyos-cloud-init-73c5bbfa31b922a0ba403216c0fc1f63b22a9262.zip
Make full data source available to code that handles mirror selection.
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r--cloudinit/sources/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 39eab51b..1a036638 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -210,8 +210,7 @@ class DataSource(object):
return hostname
def get_package_mirror_info(self):
- return self.distro.get_package_mirror_info(
- availability_zone=self.availability_zone)
+ return self.distro.get_package_mirror_info(data_source=self)
def normalize_pubkey_data(pubkey_data):