server: Update imports.

find -name '*.go' | xargs sed -i --follow-symlinks 's|etcd/v3/|etcd/server/v3/|g'
This commit is contained in:
Piotr Tabor
2020-10-20 23:09:35 +02:00
parent 6c1efd6ba5
commit aaf423e962
186 changed files with 393 additions and 494 deletions

View File

@@ -23,7 +23,7 @@ import (
"go.etcd.io/etcd/pkg/v3/report"
"go.etcd.io/etcd/pkg/v3/traceutil"
"go.etcd.io/etcd/v3/lease"
"go.etcd.io/etcd/server/v3/lease"
"github.com/spf13/cobra"
)

View File

@@ -20,9 +20,9 @@ import (
"go.uber.org/zap"
"go.etcd.io/etcd/v3/lease"
"go.etcd.io/etcd/v3/mvcc"
"go.etcd.io/etcd/v3/mvcc/backend"
"go.etcd.io/etcd/server/v3/lease"
"go.etcd.io/etcd/server/v3/mvcc"
"go.etcd.io/etcd/server/v3/mvcc/backend"
"github.com/spf13/cobra"
)

View File

@@ -26,7 +26,7 @@ import (
v3 "go.etcd.io/etcd/client/v3"
v3sync "go.etcd.io/etcd/client/v3/concurrency"
"go.etcd.io/etcd/pkg/v3/report"
"go.etcd.io/etcd/v3/etcdserver/api/v3lock/v3lockpb"
"go.etcd.io/etcd/server/v3/etcdserver/api/v3lock/v3lockpb"
"github.com/spf13/cobra"
"golang.org/x/time/rate"