Skip to content

Commit

Permalink
Switch to new etcd import path
Browse files Browse the repository at this point in the history
Change etcd clientv3 module import path from the old
github.com/coreos/etcd/clientv3 path to the new
go.etcd.io/etcd/clientv3 path.

Close Issue #15
  • Loading branch information
jaypipes committed Oct 14, 2018
1 parent 5e0d6ec commit bb5c117
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
19 changes: 12 additions & 7 deletions Gopkg.lock

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

12 changes: 6 additions & 6 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
version = "2.0.0"

[[constraint]]
name = "github.com/coreos/etcd"
version = "3.3.9"
name = "github.com/jaypipes/envutil"
version = "0.1.0"

[[constraint]]
name = "go.etcd.io/etcd"
version = "3.3.10"

[[constraint]]
branch = "master"
Expand All @@ -44,7 +48,3 @@
[prune]
go-tests = true
unused-packages = true

[[constraint]]
name = "github.com/jaypipes/envutil"
version = "0.1.0"
2 changes: 1 addition & 1 deletion conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"time"

etcd "github.com/coreos/etcd/clientv3"
"github.com/jaypipes/envutil"
etcd "go.etcd.io/etcd/clientv3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"syscall"

"github.com/cenkalti/backoff"
etcd "github.com/coreos/etcd/clientv3"
etcd "go.etcd.io/etcd/clientv3"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
Expand Down

0 comments on commit bb5c117

Please sign in to comment.