Skip to content

Commit c9598c4

Browse files
committed
bugfix: Fix disksize debug statement
Signed-off-by: ckyrouac <[email protected]>
1 parent 5db5a84 commit c9598c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bootc/bootc_disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (p *BootcDisk) bootcInstallImageToDisk(quiet bool) (err error) {
189189
if err := syscall.Ftruncate(int(p.file.Fd()), size); err != nil {
190190
return err
191191
}
192-
logrus.Debugf("Created %s with size %v", p.file.Name(), diskSize)
192+
logrus.Debugf("Created %s with size %v", p.file.Name(), size)
193193
doCleanupDisk := true
194194
defer func() {
195195
if doCleanupDisk {

0 commit comments

Comments
 (0)