Merge pull request #128311 from huww98/mount-warn

mount-utils: fix warning message of fs mismatch
This commit is contained in:
Kubernetes Prow Robot 2024-10-24 17:15:04 +01:00 committed by GitHub
commit fc9330eb65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {