Skip to content

Commit 30dcf72

Browse files
authored
fix: re-schedule generics (#614)
1 parent 5431289 commit 30dcf72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/UpdateControl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public static <T extends CustomResource> UpdateControl<T> noUpdate() {
4747
return new UpdateControl<>(null, false, false);
4848
}
4949

50-
public UpdateControl withReSchedule(long delay, TimeUnit timeUnit) {
50+
public UpdateControl<T> withReSchedule(long delay, TimeUnit timeUnit) {
5151
return withReSchedule(timeUnit.toMillis(delay));
5252
}
5353

54-
public UpdateControl withReSchedule(long delay) {
54+
public UpdateControl<T> withReSchedule(long delay) {
5555
this.reScheduleDelay = delay;
5656
return this;
5757
}

0 commit comments

Comments
 (0)