mgaido91 commented on a change in pull request #3600: NIFI-6420 Controller
Service references not properly tracked if multiple references from same
component
URL: https://github.com/apache/nifi/pull/3600#discussion_r306973606
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/flow/StandardFlowManager.java
##########
@@ -645,7 +645,7 @@ public void removeRootControllerService(final
ControllerServiceNode service) {
if (value != null) {
final ControllerServiceNode referencedNode =
getRootControllerService(value);
if (referencedNode != null) {
- referencedNode.removeReference(service);
+ referencedNode.removeReference(service,
entry.getKey().getName());
Review comment:
```suggestion
referencedNode.removeReference(service,
descriptor.getName());
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services