Skip to content

Commit

Permalink
featrue: mesos方案优化scheduler metrics数据 TencentBlueKing#532
Browse files Browse the repository at this point in the history
  • Loading branch information
zmberg committed Aug 6, 2020
1 parent 923f698 commit e88ee82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bcs-mesos/bcs-migrate-data/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ func main() {
blog.Errorf("connect zookeeper %s failed: %s", op.BCSZk, err.Error())
os.Exit(1)
}
zkStore := zk.NewManagerStore(dbzk)
zkStore := zk.NewManagerStore(dbzk, nil, "")
zkStore.InitCacheMgr(false)
blog.Infof("connect zookeeper %s success", op.BCSZk)

//connect etcd
etcdStore, err := etcd.NewEtcdStore(op.KubeConfig)
etcdStore, err := etcd.NewEtcdStore(op.KubeConfig, nil, "")
if err != nil {
blog.Errorf("new etcd store failed: %s", err.Error())
os.Exit(1)
Expand Down

0 comments on commit e88ee82

Please sign in to comment.