Skip to content

Commit

Permalink
Add status writer to helm controller
Browse files Browse the repository at this point in the history
  • Loading branch information
dymurray committed Dec 5, 2018
1 parent 907efbf commit cdc6f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/helm/controller/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (r HelmOperatorReconciler) Reconcile(request reconcile.Request) (reconcile.

func (r HelmOperatorReconciler) updateResourceStatus(o *unstructured.Unstructured, status *types.HelmAppStatus) error {
o.Object["status"] = status
return r.Client.Update(context.TODO(), o)
return r.Client.Status().Update(context.TODO(), o)
}

func contains(l []string, s string) bool {
Expand Down

0 comments on commit cdc6f97

Please sign in to comment.