Skip to content

Commit

Permalink
mount-utils: fix warning message of fs mismatch
Browse files Browse the repository at this point in the history
Kubernetes-commit: ed43fc467d944594f652c4b49a787b53b9e1f8a8
  • Loading branch information
huww98 authored and k8s-publishing-bot committed Oct 24, 2024
1 parent 05c86c7 commit 6021d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func (mounter *SafeFormatAndMount) formatAndMountSensitive(source string, target
if fstype != existingFormat {
// Verify that the disk is formatted with filesystem type we are expecting
mountErrorValue = FilesystemMismatch
klog.Warningf("Configured to mount disk %s as %s but current format is %s, things might break", source, existingFormat, fstype)
klog.Warningf("Configured to mount disk %s as %s but current format is %s, things might break", source, fstype, existingFormat)
}

if !readOnly {
Expand Down

0 comments on commit 6021d8c

Please sign in to comment.