chore: fix import path for fsnotify

That matches the new Go module import path.
See also https://github.com/go-fsnotify/fsnotify.
Without that change, some Go tooling does not work,
including Dependabot.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
This commit is contained in:
Alexey Palazhchenko 2021-01-30 13:19:37 +03:00 committed by talos-bot
parent 698fdd9d61
commit 1cded4d33e
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -36,6 +36,7 @@ require (
github.com/emicklei/go-restful v2.11.1+incompatible // indirect
github.com/fatih/color v1.10.0
github.com/firecracker-microvm/firecracker-go-sdk v0.22.0
github.com/fsnotify/fsnotify v1.4.9
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa
github.com/gdamore/tcell/v2 v2.0.1-0.20201017141208-acf90d56d591
github.com/gizak/termui/v3 v3.1.0
@ -90,7 +91,6 @@ require (
google.golang.org/grpc v1.29.1
google.golang.org/protobuf v1.25.0
gopkg.in/freddierice/go-losetup.v1 v1.0.0-20170407175016-fc9adea44124
gopkg.in/fsnotify.v1 v1.4.7
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
honnef.co/go/tools v0.0.1-2020.1.6 // indirect
k8s.io/api v0.20.2

View File

@ -13,7 +13,7 @@ import (
"path/filepath"
"sync"
"gopkg.in/fsnotify.v1"
"github.com/fsnotify/fsnotify"
)
// Reader implements io.ReadCloser over regular file following file contents.