Skip to content

Commit

Permalink
fix urfave/cli imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Aug 25, 2019
1 parent 9dc7834 commit eb2c1e9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
9 changes: 6 additions & 3 deletions Gopkg.lock

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

4 changes: 2 additions & 2 deletions Gopkg.toml
Expand Up @@ -33,8 +33,8 @@
name = "github.com/hashicorp/go-version"

[[constraint]]
name = "gopkg.in/urfave/cli.v1"
version = "1.20.0"
name = "github.com/urfave/cli"
version = "1.21.0"

[[constraint]]
name = "github.com/prometheus/client_golang"
Expand Down
4 changes: 2 additions & 2 deletions couchdb-exporter.go
Expand Up @@ -10,8 +10,8 @@ import (

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"gopkg.in/urfave/cli.v1"
"gopkg.in/urfave/cli.v1/altsrc"
"github.com/urfave/cli"
"github.com/urfave/cli/altsrc"
"k8s.io/klog"

"github.com/gesellix/couchdb-prometheus-exporter/fileutil"
Expand Down
2 changes: 1 addition & 1 deletion fileutil/map_input_source.go
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)

// MapInputSource implements InputSourceContext to return
Expand Down
4 changes: 2 additions & 2 deletions fileutil/properties_file_loader.go
Expand Up @@ -14,8 +14,8 @@ import (
"runtime"
"strings"

"gopkg.in/urfave/cli.v1"
"gopkg.in/urfave/cli.v1/altsrc"
"github.com/urfave/cli"
"github.com/urfave/cli/altsrc"
)

func readPropertiesFile(filename string) (map[interface{}]interface{}, error) {
Expand Down

0 comments on commit eb2c1e9

Please sign in to comment.