Merge pull request #4232 from brendandburns/e2e2

Actually use the safeFormatAndMounter...
This commit is contained in:
Jeff Lowdermilk 2015-02-06 17:35:51 -08:00
commit c9c98ab19e

View File

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