Skip to content

Commit

Permalink
Fix health checks by passing in the resolved remote resource rather t…
Browse files Browse the repository at this point in the history
…han the local, in-memory created one (#881)
  • Loading branch information
gerred authored Sep 30, 2019
1 parent 528bab0 commit b48cef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/instance/plan_execution_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func executeStep(step v1alpha1.Step, state *v1alpha1.StepStatus, resources []run
}
}

err = health.IsHealthy(c, r)
err = health.IsHealthy(c, existingResource)
if err != nil {
allHealthy = false
log.Printf("PlanExecution: Obj is NOT healthy: %s", prettyPrint(key))
Expand Down

0 comments on commit b48cef3

Please sign in to comment.