NIFI-2021: Fixed infinite replicated recursion. This closes #597

This commit is contained in:
Mark Payne 2016-06-30 11:35:09 -04:00 committed by Matt Gilman
parent ce5330330a
commit e7e349631f
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public class SystemDiagnosticsResource extends ApplicationResource {
throw new IllegalArgumentException("Nodewise requests cannot be directed at a specific node.");
}
if (isConnectedToCluster()) {
if (isReplicateRequest()) {
// determine where this request should be sent
if (clusterNodeId == null) {
final NodeResponse nodeResponse = getRequestReplicator().replicate(HttpMethod.GET, getAbsolutePath(), getRequestParameters(true), getHeaders()).awaitMergedResponse();