Commit cc7279f6 authored by Brendan Burns's avatar Brendan Burns

Actually use the safeFormatAndMounter...

parent e9f74de6
...@@ -87,7 +87,7 @@ func (util *GCEDiskUtil) AttachDisk(pd *gcePersistentDisk) error { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment