Skip to content

Commit

Permalink
also update the status from before message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Nov 16, 2024
1 parent ccfa466 commit 9edfa9e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/controller/controller_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,17 @@ where
"start reconciling"
);

ctx.controller
match ctx
.controller
.before_finalizer(&client, resource.clone())
.await?;
.await
{
Ok(()) => (),
Err(e) => {
Self::handle_error(ctx.clone(), &resource, &e).await?;
return Err(e);
}
}

match finalizer(
&api,
Expand Down

0 comments on commit 9edfa9e

Please sign in to comment.