summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-30 22:22:24 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-30 22:22:24 -0400
commit6f174b41496f133af92fb373f3b718eabdebfa05 (patch)
tree80a1a18a5a2a91051e76895d179c552522aee1fc
parent46ad1adef1ac8bc49eaea2b5886bf09dbf9cd001 (diff)
downloadvyos-cloud-init-6f174b41496f133af92fb373f3b718eabdebfa05.tar.gz
vyos-cloud-init-6f174b41496f133af92fb373f3b718eabdebfa05.zip
fix arg ordering
-rwxr-xr-xbin/cloud-init2
-rw-r--r--cloudinit/stages.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index b0396cdc..6a47e5e8 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -172,7 +172,7 @@ def main_init(name, args):
w_msg = welcome_format(name)
else:
w_msg = welcome_format("%s-local" % (name))
- init = stages.Init(deps)
+ init = stages.Init(ds_deps=deps, reporter=args.reporter)
# Stage 1
init.read_cfg(extract_fns(args))
# Stage 2
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index dbcdbece..2bf7a1c4 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -54,7 +54,7 @@ NULL_DATA_SOURCE = None
class Init(object):
- def __init__(self, reporter=None, ds_deps=None):
+ def __init__(self, ds_deps=None, reporter=None):
if ds_deps is not None:
self.ds_deps = ds_deps
else: