Skip to content

Commit

Permalink
Merge pull request google#2060 from sigma/pr/inotify
Browse files Browse the repository at this point in the history
replace golang.org/x/exp/inotify with standalone library
  • Loading branch information
dashpole authored Oct 19, 2018
2 parents 43a86a3 + 289e560 commit c5510ab
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion container/common/inotify_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package common
import (
"sync"

"golang.org/x/exp/inotify"
inotify "github.com/sigma/go-inotify"
)

// Watcher for container-related inotify events in the cgroup hierarchy.
Expand Down
2 changes: 1 addition & 1 deletion manager/watcher/raw/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"github.com/google/cadvisor/container/common"
"github.com/google/cadvisor/container/libcontainer"
"github.com/google/cadvisor/manager/watcher"
inotify "github.com/sigma/go-inotify"

"github.com/golang/glog"
"golang.org/x/exp/inotify"
)

type rawContainerWatcher struct {
Expand Down
2 changes: 1 addition & 1 deletion utils/tail/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"

"github.com/golang/glog"
"golang.org/x/exp/inotify"
inotify "github.com/sigma/go-inotify"
)

type Tail struct {
Expand Down
5 changes: 5 additions & 0 deletions vendor/github.com/sigma/go-inotify/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5510ab

Please sign in to comment.