mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-28 04:53:11 +00:00
correcting some spelling errors
This commit is contained in:
parent
e7d09ceb50
commit
88204f6664
@ -500,7 +500,7 @@ func (mounter *SafeFormatAndMount) formatAndMount(source string, target string,
|
|||||||
return mountErr
|
return mountErr
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetDiskFormat uses 'blkid' to see if the given disk is unformated
|
// GetDiskFormat uses 'blkid' to see if the given disk is unformatted
|
||||||
func (mounter *SafeFormatAndMount) GetDiskFormat(disk string) (string, error) {
|
func (mounter *SafeFormatAndMount) GetDiskFormat(disk string) (string, error) {
|
||||||
args := []string{"-p", "-s", "TYPE", "-s", "PTTYPE", "-o", "export", disk}
|
args := []string{"-p", "-s", "TYPE", "-s", "PTTYPE", "-o", "export", disk}
|
||||||
klog.V(4).Infof("Attempting to determine if disk %q is formatted using blkid with args: (%v)", disk, args)
|
klog.V(4).Infof("Attempting to determine if disk %q is formatted using blkid with args: (%v)", disk, args)
|
||||||
|
Loading…
Reference in New Issue
Block a user