Skip to content

Commit 9723d27

Browse files
authored
Merge pull request #214 from halkyonio/update-control
fix: type UpdateControl with the interface's parameter type
2 parents a98e88c + 101a4d0 commit 9723d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework/src/main/java/com/github/containersolutions/operator/api/ResourceController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public interface ResourceController<R extends CustomResource> {
2626
* this update can be skipped.
2727
* <b>However we will always call an update if there is no finalizer on object and its not marked for deletion.</b>
2828
*/
29-
UpdateControl createOrUpdateResource(R resource, Context<R> context);
29+
UpdateControl<R> createOrUpdateResource(R resource, Context<R> context);
3030

3131
}

0 commit comments

Comments
 (0)