diff options
-rw-r--r-- | cloudinit/config/cc_resizefs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_resizefs.py b/cloudinit/config/cc_resizefs.py index 69cd8872..256a194f 100644 --- a/cloudinit/config/cc_resizefs.py +++ b/cloudinit/config/cc_resizefs.py @@ -134,7 +134,7 @@ def do_resize(resize_cmd, log): except util.ProcessExecutionError: util.logexc(log, "Failed to resize filesystem (cmd=%s)", resize_cmd) raise - tot_time = int(time.time() - start) - log.debug("Resizing took %s seconds", tot_time) + tot_time = time.time() - start + log.debug("Resizing took %.3f seconds", tot_time) # TODO: Should we add a fsck check after this to make # sure we didn't corrupt anything? |