spelling: first

This commit is contained in:
Josh Soref 2018-03-13 07:50:00 +00:00
parent 466f0d2be4
commit dc942a0d8a
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ func (d *Parallels9Driver) Import(name, srcPath, dstDir string, reassignMAC bool
srcMAC := "auto" srcMAC := "auto"
if !reassignMAC { if !reassignMAC {
srcMAC, err = getFirtsMACAddress(srcPath) srcMAC, err = getFirstMACAddress(srcPath)
if err != nil { if err != nil {
return err return err
} }
@ -70,7 +70,7 @@ func getVMID(path string) (string, error) {
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Identification/VmUuid") return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Identification/VmUuid")
} }
func getFirtsMACAddress(path string) (string, error) { func getFirstMACAddress(path string) (string, error) {
return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Hardware/NetworkAdapter[@id='0']/MAC") return getConfigValueFromXpath(path, "/ParallelsVirtualMachine/Hardware/NetworkAdapter[@id='0']/MAC")
} }