whoops.. now it works.

This commit is contained in:
vallard
2016-12-20 16:24:43 -08:00
parent 7a60cabe74
commit 09dcffe2b6
+4 -2
View File
@@ -98,8 +98,10 @@ func (p Plugin) Exec() error {
if e != nil {
log.Fatal("Error decoding yaml file to json", e)
}
// create a deployment
dr, err := clientset.ExtensionsV1beta1().Deployments(p.Config.Namespace).Update(&dep)
// create a deployment, ignore the deployment that it comes back with, just report the
// error.
_, err := clientset.ExtensionsV1beta1().Deployments(p.Config.Namespace).Update(&dep)
//err = listDeployments(clientset, p)
return err
}