From 9d16d8701103179d173f5a376761cde6910dea8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20M=C3=A9sz=C3=A1ros?= Date: Mon, 28 Oct 2024 08:23:50 +0100 Subject: [PATCH] fix: typo in withParseResourceVersions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Attila Mészáros --- .../config/ConfigurationServiceOverrider.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java index 83894eaa61..acd637cee6 100644 --- a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java +++ b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java @@ -176,6 +176,22 @@ public ConfigurationServiceOverrider withPreviousAnnotationForDependentResources return this; } + /** + * @param value true if internal algorithms can use metadata.resourceVersion as a numeric value. + * @return this + */ + public ConfigurationServiceOverrider withParseResourceVersions( + boolean value) { + this.parseResourceVersions = value; + return this; + } + + /** + * @deprecated use withParseResourceVersions + * @param value true if internal algorithms can use metadata.resourceVersion as a numeric value. + * @return this + */ + @Deprecated(forRemoval = true) public ConfigurationServiceOverrider wihtParseResourceVersions( boolean value) { this.parseResourceVersions = value;