Skip to content

Commit 7c060db

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent e7e00cb commit 7c060db

File tree

1 file changed

+2
-1
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ public Set<ResourceID> toPrimaryResourceIDs(HasMetadata resource) {
182182
* changes of a resource. For example, it is read-only, and not expected to be changed. Note that
183183
* having this you won't be able to access the resource through {@link
184184
* io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)} only directly
185-
* from event source like by {@link InformerEventSource#get(ResourceID)}.
185+
* from event source like by {@link InformerEventSource#get(ResourceID)}. Use this with caution
186+
* since usually this is not something that you require from an event source.
186187
*/
187188
public static <T> SecondaryToPrimaryMapper<T> voidSecondaryToPrimaryMapper() {
188189
return resource -> Set.of();

0 commit comments

Comments
 (0)