annanys23 commented on code in PR #7833:
URL: https://github.com/apache/nifi/pull/7833#discussion_r1365573798
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js:
##########
@@ -1090,7 +1090,7 @@
} else if (target.hasClass('delete-controller-service')) {
nfControllerService.promptToDeleteController(serviceTable,
controllerServiceEntity);
} else if (target.hasClass('view-state-controller-service')) {
- nfComponentState.showState(controllerServiceEntity,
controllerServiceEntity.state === 'DISABLED');
+ nfComponentState.showState(controllerServiceEntity,
controllerServiceEntity.component.state === 'DISABLED');
Review Comment:
Thanks for testing! Controller services, unlike reporting tasks and
processors do not have activeThreads. When a controller service is disabled,
all connected components are stopped. So, activeThreadCount for those should
be 0.
--
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]