pvillard31 commented on code in PR #10238:
URL: https://github.com/apache/nifi/pull/10238#discussion_r2337257303
##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/RepositoryContextFactory.java:
##########
@@ -54,7 +54,13 @@ public RepositoryContextFactory(final ContentRepository
contentRepository, final
}
public RepositoryContext newProcessContext(final Connectable connectable,
final AtomicLong connectionIndex) {
- final StateManager stateManager =
stateManagerProvider.getStateManager(connectable.getIdentifier());
+ final StateManager stateManager;
+ if (connectable instanceof org.apache.nifi.controller.ProcessorNode
processorNode) {
Review Comment:
No, you're right, this change is a leftover when I tried a few things.
Reverting this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]