Explorar o código

add debug line

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
dd29652f1e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      cli/cmd/apply.go

+ 2 - 0
cli/cmd/apply.go

@@ -818,6 +818,8 @@ func (t *DeploymentHook) PostApply(populatedData map[string]interface{}) error {
 }
 
 func (t *DeploymentHook) OnError(err error) {
+	fmt.Println("running error hook for deployment")
+
 	// if the deployment exists, throw an error for that deployment
 	_, getDeplErr := t.client.GetDeployment(
 		context.Background(),