summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-30 22:04:54 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-30 22:04:54 -0400
commit46ad1adef1ac8bc49eaea2b5886bf09dbf9cd001 (patch)
tree9a4a60376c2f5453a2b429d9716a270fdaddd262 /bin
parent89cb8245c86eaa3f8bd2aa943dcd1f1e485c3ff2 (diff)
downloadvyos-cloud-init-46ad1adef1ac8bc49eaea2b5886bf09dbf9cd001.tar.gz
vyos-cloud-init-46ad1adef1ac8bc49eaea2b5886bf09dbf9cd001.zip
fix call to print_exc
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 1a905b17..b0396cdc 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -507,7 +507,7 @@ def status_wrapper(name, args, data_d=None, link_d=None):
except Exception as e:
util.logexc(LOG, "failed of stage %s", mode)
- print_exc("failed run of stage %s", mode)
+ print_exc("failed run of stage %s" % mode)
v1[mode]['errors'] = [str(e)]
v1[mode]['finished'] = time.time()