Build fix for go1.11rc1 (#6354)

Vendorized the following packages

- "github.com/rjeczalik/notify"
- "github.com/minio/highwayhash"

Fixes #6315
This commit is contained in:
Praveen raj Mani
2018-08-24 13:29:17 +05:30
committed by Nitish Tiwari
parent 52f6d5aafc
commit 01721a840a
15 changed files with 164 additions and 120 deletions

View File

@@ -106,7 +106,8 @@ func newWatcher(c chan<- EventInfo) watcher {
}
t.t = newTrigger(t.pthLkp)
if err := t.t.Init(); err != nil {
panic(err)
t.Close()
return watcherStub{fmt.Errorf("failed setting up watcher: %v", err)}
}
go t.monitor()
return t