mirror of
https://github.com/minio/minio.git
synced 2025-11-24 11:37:46 -05:00
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:
committed by
Nitish Tiwari
parent
52f6d5aafc
commit
01721a840a
3
vendor/github.com/rjeczalik/notify/watcher_trigger.go
generated
vendored
3
vendor/github.com/rjeczalik/notify/watcher_trigger.go
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user