spelling: first
This commit is contained in:
parent
466f0d2be4
commit
dc942a0d8a
|
@ -43,7 +43,7 @@ func (d *Parallels9Driver) Import(name, srcPath, dstDir string, reassignMAC bool
|
|||
|
||||
srcMAC := "auto"
|
||||
if !reassignMAC {
|
||||
srcMAC, err = getFirtsMACAddress(srcPath)
|
||||
srcMAC, err = getFirstMACAddress(srcPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ func getVMID(path string) (string, error) {
|
|||
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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue