Skip to content

Commit

Permalink
improve: cleaner throws Exception (#2527)
Browse files Browse the repository at this point in the history

Signed-off-by: Attila Mészáros <[email protected]>
  • Loading branch information
csviri authored Sep 6, 2024
1 parent bfdd8ba commit 1ed539b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public interface Cleaner<P extends HasMetadata> {
* that it can be safely deleted.
* @see DeleteControl#noFinalizerRemoval()
*/
DeleteControl cleanup(P resource, Context<P> context);
DeleteControl cleanup(P resource, Context<P> context) throws Exception;

}
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public Map<String, Object> metadata() {
}

@Override
public DeleteControl execute() {
public DeleteControl execute() throws Exception {
initContextIfNeeded(resource, context);
WorkflowCleanupResult workflowCleanupResult = null;

Expand Down

0 comments on commit 1ed539b

Please sign in to comment.