Skip to content

Commit 4224b6a

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 98c13c0 commit 4224b6a

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/main/java/io/javaoperatorsdk/operator/glue/reconciler/glue/GlueReconciler.java

-10
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import io.javaoperatorsdk.operator.glue.reconciler.operator.GlueOperatorReconciler;
2929
import io.javaoperatorsdk.operator.glue.templating.GenericTemplateHandler;
3030
import io.javaoperatorsdk.operator.processing.GroupVersionKind;
31-
import io.javaoperatorsdk.operator.processing.dependent.kubernetes.GroupVersionKindPlural;
3231
import io.javaoperatorsdk.operator.processing.dependent.workflow.Condition;
3332
import io.javaoperatorsdk.operator.processing.dependent.workflow.KubernetesResourceDeletedCondition;
3433
import io.javaoperatorsdk.operator.processing.dependent.workflow.WorkflowBuilder;
@@ -371,13 +370,4 @@ public static boolean isGlueOfAGlueOperator(Glue glue) {
371370

372371
}
373372

374-
// remove if the conversion not happens in josdk anymore
375-
// https://github.com/operator-framework/java-operator-sdk/pull/2726
376-
private static GroupVersionKind toGVKIfGVKP(GroupVersionKind gvk) {
377-
if (gvk instanceof GroupVersionKindPlural gvkp) {
378-
gvk = new GroupVersionKind(gvkp.getGroup(), gvkp.getVersion(), gvkp.getKind());
379-
}
380-
return gvk;
381-
}
382-
383373
}

src/main/java/io/javaoperatorsdk/operator/glue/reconciler/glue/InformerRegister.java

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public InformerEventSource<GenericKubernetesResource, Glue> registerInformer(
112112
log.debug("Registering informer for gvk: {} actually registered: {}", gvk,
113113
resultInformer == newInformer);
114114
}
115-
116115
return resultInformer;
117116
}
118117

0 commit comments

Comments
 (0)