diff --git a/bcs-mesos/bcs-migrate-data/main.go b/bcs-mesos/bcs-migrate-data/main.go index fa0bdddf21..691602ce51 100644 --- a/bcs-mesos/bcs-migrate-data/main.go +++ b/bcs-mesos/bcs-migrate-data/main.go @@ -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)