func ApplyEtcdExtraArgs(e *v1alpha1.EtcdCluster, app *tAppV1.TApp) {
	for index, tpl := range app.Spec.TemplatePool {
		newTpl := tpl
		newTpl.Spec.Containers[0].Args = flag.Merge(tpl.Spec.Containers[0].Args, e.Spec.Template.ExtraArgs, "--", "--")
		app.Spec.TemplatePool[index] = newTpl
	}
}
// ApplyEtcdExtraArgs  set the etcd extra args for TApp
ApplyEtcdExtraArgs  set the etcd extra args for TApp
// ApplyEtcdExtraArgs set the etcd extra args for TApp
func ApplyEtcdExtraArgs(e *v1alpha1.EtcdCluster, app *tAppV1.TApp) {
	for index, tpl := range app.Spec.TemplatePool {
		newTpl := tpl
		newTpl.Spec.Containers[0].Args = flag.Merge(tpl.Spec.Containers[0].Args, e.Spec.Template.ExtraArgs, "--", "--")
		app.Spec.TemplatePool[index] = newTpl
	}
}
func ApplyEtcdExtraArgs ( e * v1alpha1 . EtcdCluster , app * tAppV1 . TApp ) { for index , tpl := range app . Spec . TemplatePool { newTpl := tpl newTpl . Spec . Containers [ 0 ] . Args = flag . Merge ( tpl . Spec . Containers [ 0 ] . Args , e . Spec . Template . ExtraArgs , " " , " " ) app . Spec . TemplatePool [ index ] = newTpl } }
ApplyEtcdExtraArgs  set the etcd extra args for TApp
ApplyEtcdExtraArgs set the etcd extra args for TApp