Skip to content

Commit

Permalink
hyperkit: Use constants.CrcBinDir
Browse files Browse the repository at this point in the history
At the moment it's constructing the path itself from CrcBaseDir and
"bin". Better to use the appropriate constant instead.
  • Loading branch information
cfergeau authored and praveenkumar committed Sep 3, 2019
1 parent aa8185b commit 9930de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/machine/hyperkit/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func CreateHost(config config.MachineConfig) *hyperkitDriver {
DiskPathUrl: config.DiskPathURL,
SSHKeyPath: config.SSHKeyPath,
}
d.HyperKitPath = filepath.Join(constants.CrcBaseDir, "bin", "hyperkit")
d.HyperKitPath = filepath.Join(constants.CrcBinDir, "hyperkit")

return d
}

0 comments on commit 9930de5

Please sign in to comment.