summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-03 00:42:22 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-03 00:42:22 -0400
commite2c2d70cde19211b18e5ec333e1cb0382d93f14d (patch)
tree34c77e1a416fc6063d2979aa4853fc35910c231f
parent6bd7fbc35ac8726a8a0f422cd802d290c236bf3b (diff)
downloadvyos-cloud-init-e2c2d70cde19211b18e5ec333e1cb0382d93f14d.tar.gz
vyos-cloud-init-e2c2d70cde19211b18e5ec333e1cb0382d93f14d.zip
lxd: fix log messsage
-rw-r--r--cloudinit/config/cc_lxd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_lxd.py b/cloudinit/config/cc_lxd.py
index b1de8f84..70d4e7c3 100644
--- a/cloudinit/config/cc_lxd.py
+++ b/cloudinit/config/cc_lxd.py
@@ -52,7 +52,8 @@ def handle(name, cfg, cloud, log, args):
# Get config
lxd_cfg = cfg.get('lxd')
if not lxd_cfg:
- log.debug("Skipping module named %s, not present or disabled by cfg")
+ log.debug("Skipping module named %s, not present or disabled by cfg",
+ name)
return
if not isinstance(lxd_cfg, dict):
log.warn("lxd config must be a dictionary. found a '%s'",