mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Actually use the safeFormatAndMounter...
This commit is contained in:
parent
e9f74de68d
commit
cc7279f6a8
@ -87,7 +87,7 @@ func (util *GCEDiskUtil) AttachDisk(pd *gcePersistentDisk) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !mountpoint {
|
if !mountpoint {
|
||||||
err = pd.mounter.Mount(devicePath, globalPDPath, pd.fsType, flags, "")
|
err = pd.diskMounter.Mount(devicePath, globalPDPath, pd.fsType, flags, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Remove(globalPDPath)
|
os.Remove(globalPDPath)
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user