Skip to content

Commit 220db05

Browse files
csviriCopilot
andcommitted
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 8b72c43 commit 220db05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/ManagedInformerEventSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public R eventFilteringUpdateAndCacheResource(R resourceToUpdate, UnaryOperator<
9898
ResourceID id = ResourceID.fromResource(resourceToUpdate);
9999
log.debug("Starting event filtering and caching update for id={}", id);
100100
R updatedResource = null;
101-
Set<ResourceID> relatedPrimaryIds = Collections.emptySet();
101+
Set<ResourceID> relatedPrimaryIds = null;
102102
try {
103103
temporaryResourceCache.startEventFilteringModify(id);
104104
updatedResource = updateMethod.apply(resourceToUpdate);

0 commit comments

Comments
 (0)