1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00

Change gopkg.in/fsnotify.v1 to github.com/fsnotify/fsnotify

`github.com/go-fsnotify/fsnotify` recently moved to
`github.com/fsnotify/fsnotify`. So far Github has automatically
redirected anyone coming from `gopkg.in/fsnotify.v1` to
`github.com/fsnotify/fsnotify`. This worked until today someone created
a new github repo under the old `github.com/go-fsnotify/fsnotify`.

Instead of referencing this dependency via `gopkg.in/fsnotify.v1`, this
patch references it directly via `github.com/fsnotify/fsnotify`.
This commit is contained in:
Max Leonard Inden 2018-03-21 10:58:05 +01:00
parent 25d73ee786
commit 6e1aad624c
No known key found for this signature in database
GPG key ID: 5403C5464810BC26
28 changed files with 9 additions and 13 deletions

14
Gopkg.lock generated
View file

@ -95,6 +95,12 @@
revision = "68b0248f880c5967d1ba7166486cb216af849b15" revision = "68b0248f880c5967d1ba7166486cb216af849b15"
version = "v0.4.0" version = "v0.4.0"
[[projects]]
name = "github.com/fsnotify/fsnotify"
packages = ["."]
revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
version = "v1.4.7"
[[projects]] [[projects]]
name = "github.com/ghodss/yaml" name = "github.com/ghodss/yaml"
packages = ["."] packages = ["."]
@ -402,12 +408,6 @@
] ]
revision = "25101aadb97aa42907eee6a238d6d26a6cb3c756" revision = "25101aadb97aa42907eee6a238d6d26a6cb3c756"
[[projects]]
name = "gopkg.in/fsnotify.v1"
packages = ["."]
revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
version = "v1.4.7"
[[projects]] [[projects]]
name = "gopkg.in/inf.v0" name = "gopkg.in/inf.v0"
packages = ["."] packages = ["."]
@ -572,6 +572,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "9065e1f67bda37fcf8a1e870ad445c8a1eb23e2cc44d3a59f09ae7f7e1d69907" inputs-digest = "0021bedac82f4bbbffa6714c0ac57436dede79a83c80d44d75db045fbba8fdb5"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View file

@ -36,10 +36,6 @@
branch = "master" branch = "master"
name = "github.com/spf13/pflag" name = "github.com/spf13/pflag"
[[constraint]]
name = "gopkg.in/fsnotify.v1"
version = "1.4.2"
[[constraint]] [[constraint]]
name = "k8s.io/api" name = "k8s.io/api"
version = "kubernetes-1.8.2" version = "kubernetes-1.8.2"

View file

@ -24,7 +24,7 @@ import (
"strings" "strings"
"time" "time"
fsnotify "gopkg.in/fsnotify.v1" fsnotify "github.com/fsnotify/fsnotify"
"github.com/coreos/prometheus-operator/contrib/grafana-watcher/grafana" "github.com/coreos/prometheus-operator/contrib/grafana-watcher/grafana"
"github.com/coreos/prometheus-operator/contrib/grafana-watcher/updater" "github.com/coreos/prometheus-operator/contrib/grafana-watcher/updater"

View file

@ -26,7 +26,7 @@ import (
"strings" "strings"
"time" "time"
fsnotify "gopkg.in/fsnotify.v1" fsnotify "github.com/fsnotify/fsnotify"
"github.com/cenkalti/backoff" "github.com/cenkalti/backoff"
"github.com/ericchiang/k8s" "github.com/ericchiang/k8s"