[FIX]Fix etcd connection in define resource

This commit is contained in:
pujielan 2017-12-24 21:26:21 +08:00
parent a69933088c
commit 8088fada79

View File

@ -86,7 +86,6 @@ func CreateManager(conf option.Config) (*ServiceAction, error) {
logrus.Errorf("create etcd client v3 error, %v", err)
return nil, err
}
defer etcdCli.Close()
return &ServiceAction{
MQClient: mqClient,
KubeClient: kubeClient,