Skip to content

Commit

Permalink
Replace github.com/coreos/etcd by go.etcd.io/etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
p0lyn0mial committed Dec 18, 2019
1 parent ffbab88 commit 292c327
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/extended/etcd/etcd_storage_path.go
Expand Up @@ -29,7 +29,7 @@ import (
kapihelper "k8s.io/kubernetes/pkg/apis/core/helper"
etcddata "k8s.io/kubernetes/test/integration/etcd"

etcdv3 "github.com/coreos/etcd/clientv3"
etcdv3 "go.etcd.io/etcd/clientv3"
)

// Etcd data for all persisted OpenShift objects.
Expand Down
2 changes: 1 addition & 1 deletion test/extended/etcd/etcd_test_runner.go
Expand Up @@ -8,9 +8,9 @@ import (
"strings"
"time"

"github.com/coreos/etcd/clientv3"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
"go.etcd.io/etcd/clientv3"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
10 changes: 5 additions & 5 deletions tools/etcdhelper/etcdhelper.go
Expand Up @@ -13,8 +13,8 @@ import (
jsonserializer "k8s.io/apimachinery/pkg/runtime/serializer/json"
"k8s.io/kubectl/pkg/scheme"

"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/pkg/transport"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/pkg/transport"

"github.com/openshift/api"
)
Expand Down Expand Up @@ -53,9 +53,9 @@ func main() {
var tlsConfig *tls.Config
if len(certFile) != 0 || len(keyFile) != 0 || len(caFile) != 0 {
tlsInfo := transport.TLSInfo{
CertFile: certFile,
KeyFile: keyFile,
CAFile: caFile,
CertFile: certFile,
KeyFile: keyFile,
TrustedCAFile: caFile,
}
var err error
tlsConfig, err = tlsInfo.ClientConfig()
Expand Down
2 changes: 1 addition & 1 deletion tools/rebasehelpers/godepchecker/godepchecker.go
Expand Up @@ -86,7 +86,7 @@ func main() {
// Check `ours` for different levels
openshiftForks := sets.NewString(
"github.com/docker/distribution",
"github.com/coreos/etcd",
"go.etcd.io/etcd",
"github.com/emicklei/go-restful",
"k8s.io/klog",
"github.com/cloudflare/cfssl",
Expand Down

0 comments on commit 292c327

Please sign in to comment.