replace golang.org/x/exp/inotify with standalone library

The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.

This change is a followup to google/cadvisor#2060 which was merged with #70889

This fixes #68478
This commit is contained in:
Yann Hodique
2018-11-13 14:45:34 -08:00
parent 9bbf8de245
commit 4d9c01d747
14 changed files with 5 additions and 429 deletions

View File

@@ -26,7 +26,7 @@ import (
"strings"
"time"
"golang.org/x/exp/inotify"
"github.com/sigma/go-inotify"
"k8s.io/klog"
"k8s.io/api/core/v1"