Commit c9c98ab1 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

Merge pull request #4232 from brendandburns/e2e2

Actually use the safeFormatAndMounter...
parents afcfe96f cc7279f6
......@@ -87,7 +87,7 @@ func (util *GCEDiskUtil) AttachDisk(pd *gcePersistentDisk) error {
}
}
if !mountpoint {
err = pd.mounter.Mount(devicePath, globalPDPath, pd.fsType, flags, "")
err = pd.diskMounter.Mount(devicePath, globalPDPath, pd.fsType, flags, "")
if err != nil {
os.Remove(globalPDPath)
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