Skip to content

Commit

Permalink
Merge pull request #84 from org0000h/master
Browse files Browse the repository at this point in the history
for  updating etcd
  • Loading branch information
org0000h authored Jun 23, 2021
2 parents d429399 + aab5e29 commit 489048d
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cmd/dm/cmd/sync/dm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"flag"
"time"

"github.com/coreos/etcd/clientv3"
_ "github.com/go-sql-driver/mysql"
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
"github.com/tal-tech/cds/cmd/dm/module"
"github.com/tal-tech/cds/pkg/strx"
"github.com/tal-tech/go-zero/core/conf"
"github.com/tal-tech/go-zero/core/logx"
"go.etcd.io/etcd/clientv3/concurrency"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/concurrency"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/dm/module/jobstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/json"
"time"

"github.com/coreos/etcd/clientv3"
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
clientv3 "go.etcd.io/etcd/client/v3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/dm/module/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
"github.com/tal-tech/go-zero/core/logx"
"go.etcd.io/etcd/clientv3/concurrency"
"go.etcd.io/etcd/client/v3/concurrency"
)

type Manager struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/dm/module/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"regexp"

"github.com/tal-tech/go-zero/core/logx"
"go.etcd.io/etcd/clientv3/concurrency"
"go.etcd.io/etcd/client/v3/concurrency"
"gopkg.in/mgo.v2/bson"

"github.com/tal-tech/cds/cmd/dm/choperator"
Expand Down
2 changes: 1 addition & 1 deletion cmd/galaxy/internal/clients/dmclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
"github.com/tal-tech/cds/pkg/strx"
"github.com/tal-tech/go-zero/core/logx"
"go.etcd.io/etcd/clientv3"
clientv3 "go.etcd.io/etcd/client/v3"
)

type DmClient struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/galaxy/internal/clients/rtuclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
"github.com/tal-tech/cds/pkg/strx"
"github.com/tal-tech/go-zero/core/logx"
"go.etcd.io/etcd/clientv3"
clientv3 "go.etcd.io/etcd/client/v3"
)

type RtuClient struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/galaxy/internal/svc/servicecontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/tal-tech/cds/cmd/galaxy/internal/model"
"github.com/tal-tech/cds/pkg/canalx"
"github.com/tal-tech/cds/pkg/debeziumx"
"go.etcd.io/etcd/clientv3"
clientv3 "go.etcd.io/etcd/client/v3"
)

type ServiceContext struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/rtu/handle/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync"
"time"

"github.com/coreos/etcd/clientv3"
"github.com/tal-tech/go-zero/core/logx"
clientv3 "go.etcd.io/etcd/client/v3"
"go.uber.org/atomic"

"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
Expand Down
4 changes: 2 additions & 2 deletions cmd/rtu/handle/etcdjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"sync"
"time"

"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
"github.com/tal-tech/cds/pkg/strx"
"github.com/tal-tech/go-zero/core/logx"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/concurrency"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/rtu/handle/rtujob.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync/atomic"
"time"

"github.com/coreos/etcd/clientv3"
"github.com/tal-tech/go-zero/core/logx"
clientv3 "go.etcd.io/etcd/client/v3"

"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
"github.com/tal-tech/cds/cmd/rtu/model"
Expand Down
2 changes: 1 addition & 1 deletion cmd/rtu/handle/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"

"github.com/coreos/etcd/clientv3"
"github.com/tal-tech/go-zero/core/logx"
clientv3 "go.etcd.io/etcd/client/v3"
)

var (
Expand Down

0 comments on commit 489048d

Please sign in to comment.