Skip to content

Commit e74da07

Browse files
committed
fix: need to call super with a CustomResource as first arg
This isn't clear why but otherwise the constructor from the super class won't be found… :(
1 parent 21a461b commit e74da07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

operator-framework-quarkus-extension/deployment/src/main/java/io/javaoperatorsdk/quarkus/extension/deployment/QuarkusExtensionProcessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ private ControllerConfiguration createControllerConfiguration(
122122
cc.getMethodCreator("<init>", void.class.getName(), crType, functionName);
123123
ctor.setModifiers(Modifier.PUBLIC);
124124
ctor.invokeSpecialMethod(
125-
MethodDescriptor.ofConstructor(crDoneableClassName, crType, functionName),
125+
MethodDescriptor.ofConstructor(
126+
crDoneableClassName, CustomResource.class.getName(), functionName),
126127
ctor.getThis(),
127128
ctor.getMethodParam(0),
128129
ctor.getMethodParam(1));

0 commit comments

Comments
 (0)