diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-02-24 20:49:22 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-02-24 20:49:22 -0500 |
commit | 1692175c0b0afe543065303251674f77e925e2a9 (patch) | |
tree | 2f3a3b4210f1a63d6f3c33ddd0407e36a956a719 /bin | |
parent | af6b25e0b8895e8eead0a7202d637fa197c4401c (diff) | |
download | vyos-cloud-init-1692175c0b0afe543065303251674f77e925e2a9.tar.gz vyos-cloud-init-1692175c0b0afe543065303251674f77e925e2a9.zip |
fix write_json call
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cloud-init | 2 |
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) |