Skip to content

Commit 0092f0a

Browse files
committed
fix: fixes after rebase
1 parent 3cd36d1 commit 0092f0a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ public AnnotationControllerConfiguration(Reconciler<P> reconciler) {
4747
this.reconciler = reconciler;
4848
this.annotation = reconciler.getClass().getAnnotation(ControllerConfiguration.class);
4949
if (annotation == null) {
50-
throw new OperatorException("Missing mandatory @" + CONTROLLER_CONFIG_ANNOTATION +
51-
" annotation for reconciler: " + reconciler);
50+
throw new OperatorException(
51+
"Missing mandatory @" + ControllerConfiguration.class.getSimpleName() +
52+
" annotation for reconciler: " + reconciler);
5253
}
5354
}
5455

@@ -227,7 +228,7 @@ public List<DependentResourceSpec> getDependentResources() {
227228
Utils.instantiate(dependent.readyPostcondition(), Condition.class, context),
228229
Utils.instantiate(dependent.reconcilePrecondition(), Condition.class, context),
229230
Utils.instantiate(dependent.deletePostcondition(), Condition.class, context),
230-
eventSourceName);
231+
eventSourceName);
231232
specsMap.put(name, spec);
232233
}
233234

@@ -278,8 +279,8 @@ private Object createKubernetesResourceConfig(Class<? extends DependentResource>
278279
Utils.instantiate(kubeDependent.genericFilter(), GenericFilter.class, context);
279280

280281
resourceDiscriminator =
281-
Utils.instantiate(kubeDependent.resourceDiscriminator(),
282-
ResourceDiscriminator.class, context);
282+
Utils.instantiate(kubeDependent.resourceDiscriminator(),
283+
ResourceDiscriminator.class, context);
283284
}
284285

285286
config =

0 commit comments

Comments
 (0)