Skip to content

Commit ebb0642

Browse files
committed
fix bad variable if blocking cc_resizefs
1 parent a088694 commit ebb0642

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cloudinit/CloudConfig/cc_resizefs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ def handle(_name, cfg, _cloud, log, args):
8787
else:
8888
do_resize(resize_cmd, devpth, log)
8989

90-
log.debug("resizing root filesystem (type=%s, maj=%i, min=%i). pid=%s" %
91-
(str(fstype).rstrip("\n"), os.major(st_dev), os.minor(st_dev), fid))
90+
log.debug("resizing root filesystem (type=%s, maj=%i, min=%i, val=%s)" %
91+
(str(fstype).rstrip("\n"), os.major(st_dev), os.minor(st_dev),
92+
resize_root))
9293

9394
return
9495

0 commit comments

Comments
 (0)