diff --git a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/UpdateControl.java b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/UpdateControl.java index d9e14a6c5a..4d89b69f95 100644 --- a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/UpdateControl.java +++ b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/UpdateControl.java @@ -47,11 +47,11 @@ public static UpdateControl noUpdate() { return new UpdateControl<>(null, false, false); } - public UpdateControl withReSchedule(long delay, TimeUnit timeUnit) { + public UpdateControl withReSchedule(long delay, TimeUnit timeUnit) { return withReSchedule(timeUnit.toMillis(delay)); } - public UpdateControl withReSchedule(long delay) { + public UpdateControl withReSchedule(long delay) { this.reScheduleDelay = delay; return this; }