Skip to content

Commit a060844

Browse files
committed
fix
Signed-off-by: Attila Mészáros <csviri@gmail.com>
1 parent 5b3263c commit a060844

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ private void configureWith(String labelSelector, Set<String> namespaces,
8484

8585
@SuppressWarnings("unchecked")
8686
private SecondaryToPrimaryMapper<R> getSecondaryToPrimaryMapper() {
87-
if (this instanceof SecondaryToPrimaryMapper
88-
&& useNonOwnerRefBasedSecondaryToPrimaryMapping()) {
87+
if (this instanceof SecondaryToPrimaryMapper) {
8988
return (SecondaryToPrimaryMapper<R>) this;
9089
} else if (garbageCollected) {
9190
return Mappers.fromOwnerReference();

0 commit comments

Comments
 (0)