summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)