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_r306973481
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/flow/StandardFlowManager.java
 ##########
 @@ -589,7 +589,7 @@ public void removeReportingTask(final ReportingTaskNode 
reportingTaskNode) {
                 if (value != null) {
                     final ControllerServiceNode serviceNode = 
flowController.getControllerServiceProvider().getControllerServiceNode(value);
                     if (serviceNode != null) {
-                        serviceNode.removeReference(reportingTaskNode);
+                        serviceNode.removeReference(reportingTaskNode, 
entry.getKey().getName());
 
 Review comment:
   ```suggestion
                           serviceNode.removeReference(reportingTaskNode, 
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

Reply via email to