Skip to content

Commit 15a7220

Browse files
authored
fix: abstract fecth resource (#1101)
1 parent 0102c6c commit 15a7220

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/external/AbstractCachingDependentResource.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ protected AbstractCachingDependentResource(Class<R> resourceType) {
1515
this.resourceType = resourceType;
1616
}
1717

18-
public Optional<R> fetchResource(P primaryResource) {
19-
return eventSource().getSecondaryResource(primaryResource);
20-
}
18+
public abstract Optional<R> fetchResource(P primaryResource);
2119

2220
@Override
2321
public Class<R> resourceType() {

0 commit comments

Comments
 (0)