Skip to content

Commit 1df1e0f

Browse files
committed
fix: do not break backward compatibility
1 parent 92b5e4e commit 1df1e0f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

+18
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,24 @@ public AbstractControllerConfiguration(
4242
this.labelSelector = labelSelector;
4343
}
4444

45+
/**
46+
* @deprecated use
47+
* {@link #AbstractControllerConfiguration(String, String, String, String, boolean, Set, RetryConfiguration, String)}
48+
* instead
49+
*/
50+
@Deprecated
51+
public AbstractControllerConfiguration(
52+
String associatedControllerClassName,
53+
String name,
54+
String crdName,
55+
String finalizer,
56+
boolean generationAware,
57+
Set<String> namespaces,
58+
RetryConfiguration retryConfiguration) {
59+
this(associatedControllerClassName, name, crdName, finalizer, generationAware, namespaces,
60+
retryConfiguration, null);
61+
}
62+
4563
@Override
4664
public String getName() {
4765
return name;

0 commit comments

Comments
 (0)