summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-03-03 16:49:37 -0500
committerScott Moser <smoser@ubuntu.com>2014-03-03 16:49:37 -0500
commitf33583bae55dbf071cce88c4e85b289c93e970c8 (patch)
tree81aebfc502968b4b62fee407de64f466432ac5cb /bin
parent27081dacc0812be242860e31f0473b69e7c45c49 (diff)
downloadvyos-cloud-init-f33583bae55dbf071cce88c4e85b289c93e970c8.tar.gz
vyos-cloud-init-f33583bae55dbf071cce88c4e85b289c93e970c8.zip
version space (v1:) result_path json also
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 261aaa4e..6ede60af 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -517,7 +517,7 @@ def status_wrapper(name, args, data_d=None, link_d=None):
errors.extend(v1[m].get('errors', []))
atomic_write_json(result_path,
- {'datasource': v1['datasource'], 'errors': errors})
+ {'v1': {'datasource': v1['datasource'], 'errors': errors}})
util.sym_link(os.path.relpath(result_path, link_d), result_link,
force=True)