Skip to content

Commit

Permalink
Fix go imports in distlock.go after etcd changed urls
Browse files Browse the repository at this point in the history
The etcd project has switched from github.com URLs to
go.etcd.io URLs. The import statements in distlock.go
have been updated to reflect this. The old imports
failed to compile. See here for details:
etcd-io/etcd#10044 (comment)
  • Loading branch information
tinx committed Jan 31, 2019
1 parent 64d2fd6 commit cf958d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"flag"
"fmt"
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/coreos/etcd/mvcc/mvccpb"
v3 "go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/clientv3/concurrency"
"go.etcd.io/etcd/mvcc/mvccpb"
"gopkg.in/yaml.v2"
"io/ioutil"
"log"
Expand Down

0 comments on commit cf958d2

Please sign in to comment.