Skip to content

Commit ed43fc4

Browse files
committed
mount-utils: fix warning message of fs mismatch
1 parent e526a27 commit ed43fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/mount-utils/mount_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ func (mounter *SafeFormatAndMount) formatAndMountSensitive(source string, target
631631
if fstype != existingFormat {
632632
// Verify that the disk is formatted with filesystem type we are expecting
633633
mountErrorValue = FilesystemMismatch
634-
klog.Warningf("Configured to mount disk %s as %s but current format is %s, things might break", source, existingFormat, fstype)
634+
klog.Warningf("Configured to mount disk %s as %s but current format is %s, things might break", source, fstype, existingFormat)
635635
}
636636

637637
if !readOnly {

0 commit comments

Comments
 (0)