mirror of https://github.com/apache/nifi.git
NIFI-2021: Fixed infinite replicated recursion. This closes #597
This commit is contained in:
parent
ce5330330a
commit
e7e349631f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue