// UpdateDeployment updates an existing deployment
UpdateDeployment updates an existing deployment
// UpdateDeployment updates an existing deployment
func (a *API) UpdateDeployment(deployment *appsv1.Deployment) error {
	_, err := a.kubeClient.AppsV1().Deployments(deployment.ObjectMeta.Namespace).Update(deployment)
	if err != nil {
		return err
	}
	return nil
}
func ( a * API ) UpdateDeployment ( deployment * appsv1 . Deployment ) error { _ , err := a . kubeClient . AppsV1 ( ) . Deployments ( deployment . ObjectMeta . Namespace ) . Update ( deployment ) if err != nil { return err } return nil }
UpdateDeployment updates an existing deployment
UpdateDeployment updates an existing deployment