summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_growpart.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-08-05 06:58:54 +0100
committerScott Moser <smoser@ubuntu.com>2013-08-05 06:58:54 +0100
commit65e49111bcea78342289c671376eba85410ea781 (patch)
tree64555168d9767f63074729cdbe9d34e5ae37eb01 /cloudinit/config/cc_growpart.py
parent696bcc1f0acc67646872cd6ce1b90375ca0ae068 (diff)
parent219191673b5491fab683ca5ff1befe845c81f6cf (diff)
downloadvyos-cloud-init-65e49111bcea78342289c671376eba85410ea781.tar.gz
vyos-cloud-init-65e49111bcea78342289c671376eba85410ea781.zip
merge from trunk
Diffstat (limited to 'cloudinit/config/cc_growpart.py')
-rw-r--r--cloudinit/config/cc_growpart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_growpart.py b/cloudinit/config/cc_growpart.py
index 4f8c8f80..ba6c58af 100644
--- a/cloudinit/config/cc_growpart.py
+++ b/cloudinit/config/cc_growpart.py
@@ -264,7 +264,8 @@ def handle(_name, cfg, _cloud, log, _args):
raise e
return
- resized = resize_devices(resizer, devices)
+ resized = util.log_time(logfunc=log.debug, msg="resize_devices",
+ func=resize_devices, args=(resizer, devices))
for (entry, action, msg) in resized:
if action == RESIZE.CHANGED:
log.info("'%s' resized: %s" % (entry, msg))