summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-02-24 20:49:22 -0500
committerScott Moser <smoser@ubuntu.com>2014-02-24 20:49:22 -0500
commit1692175c0b0afe543065303251674f77e925e2a9 (patch)
tree2f3a3b4210f1a63d6f3c33ddd0407e36a956a719 /bin
parentaf6b25e0b8895e8eead0a7202d637fa197c4401c (diff)
downloadvyos-cloud-init-1692175c0b0afe543065303251674f77e925e2a9.tar.gz
vyos-cloud-init-1692175c0b0afe543065303251674f77e925e2a9.zip
fix write_json call
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cloud-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index 479d715d..d1cd68ea 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -476,7 +476,7 @@ def status_wrapper(name, args, data_d=None, link_d=None):
v1['stage'] = mode
v1[mode]['start'] = time.time()
- write_json(status, status_path)
+ write_json(status_path, status)
util.sym_link(os.path.relpath(status_path, link_d), status_link,
force=True)