From 226638bcc4f73392bde986a0d31cbc96801f640e Mon Sep 17 00:00:00 2001 From: Marius Date: Sun, 16 Jun 2019 17:06:17 +0200 Subject: [PATCH] etcd3locker: Update import path for etcd3 --- pkg/etcd3locker/lock.go | 2 +- pkg/etcd3locker/locker.go | 4 ++-- pkg/etcd3locker/locker_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/etcd3locker/lock.go b/pkg/etcd3locker/lock.go index e6dbf8a..edc818c 100644 --- a/pkg/etcd3locker/lock.go +++ b/pkg/etcd3locker/lock.go @@ -7,7 +7,7 @@ import ( "time" "github.com/tus/tusd/pkg/handler" - "go.etcd.io/etcd/clientv3/concurrency" + "github.com/coreos/etcd/clientv3/concurrency" ) type etcd3Lock struct { diff --git a/pkg/etcd3locker/locker.go b/pkg/etcd3locker/locker.go index f042f0a..674a0f2 100644 --- a/pkg/etcd3locker/locker.go +++ b/pkg/etcd3locker/locker.go @@ -48,8 +48,8 @@ import ( "time" "github.com/tus/tusd/pkg/handler" - etcd3 "go.etcd.io/etcd/clientv3" - "go.etcd.io/etcd/clientv3/concurrency" + etcd3 "github.com/coreos/etcd/clientv3" + "github.com/coreos/etcd/clientv3/concurrency" ) var ( diff --git a/pkg/etcd3locker/locker_test.go b/pkg/etcd3locker/locker_test.go index 8c56f70..e044ae7 100644 --- a/pkg/etcd3locker/locker_test.go +++ b/pkg/etcd3locker/locker_test.go @@ -2,7 +2,7 @@ package etcd3locker import ( etcd_harness "github.com/chen-anders/go-etcd-harness" - "go.etcd.io/etcd/clientv3" + "github.com/coreos/etcd/clientv3" "os" "testing" "time"