From f33583bae55dbf071cce88c4e85b289c93e970c8 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 3 Mar 2014 16:49:37 -0500 Subject: version space (v1:) result_path json also --- bin/cloud-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3