From 0d35799c30f88af6a9e8420c962d2cae167665c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20P=C3=A9ronnet?= Date: Wed, 27 May 2020 10:19:17 +0200 Subject: [PATCH] fix(dependency) Use github.com/fsnotify/fsnotify instead of deprecated gopkg.in/fsnotify.v1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre PĂ©ronnet --- go.mod | 2 +- pkg/webhook/internal/certwatcher/certwatcher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 2c96d07548..8ef7b0285a 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.13 require ( github.com/evanphx/json-patch v4.5.0+incompatible + github.com/fsnotify/fsnotify v1.4.7 github.com/go-logr/logr v0.1.0 github.com/go-logr/zapr v0.1.0 github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect @@ -19,7 +20,6 @@ require ( golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 gomodules.xyz/jsonpatch/v2 v2.0.1 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect - gopkg.in/fsnotify.v1 v1.4.7 k8s.io/api v0.18.2 k8s.io/apiextensions-apiserver v0.18.2 k8s.io/apimachinery v0.18.2 diff --git a/pkg/webhook/internal/certwatcher/certwatcher.go b/pkg/webhook/internal/certwatcher/certwatcher.go index fbe757cc74..bd797fd738 100644 --- a/pkg/webhook/internal/certwatcher/certwatcher.go +++ b/pkg/webhook/internal/certwatcher/certwatcher.go @@ -20,7 +20,7 @@ import ( "crypto/tls" "sync" - "gopkg.in/fsnotify.v1" + "github.com/fsnotify/fsnotify" logf "sigs.k8s.io/controller-runtime/pkg/internal/log" )