mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
client: fix windows build errors
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func (d *AllocDir) linkOrCopy(src, dst string, perm os.FileMode) error {
|
||||
return fileCopy(src, dst)
|
||||
return fileCopy(src, dst, perm)
|
||||
}
|
||||
|
||||
// The windows version does nothing currently.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// +build linux darwin
|
||||
|
||||
package fingerprint
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// +build windows
|
||||
|
||||
package fingerprint
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user