Skip to content

Commit

Permalink
spelling: first
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 13, 2018
1 parent 466f0d2 commit dc942a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/parallels/common/driver_9.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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")
}

Expand Down

0 comments on commit dc942a0

Please sign in to comment.