mirror of https://github.com/apache/nifi.git
NIFI-2687: RPG Port ID was used instead of RPG ID
It caused "Error: Unable to find remote process group with id 'XXXX'" error with modifying the transmitting toggle switch of an Input or Output port. This closes #962
This commit is contained in:
parent
c8ae7fcbe1
commit
daf4855570
|
@ -299,7 +299,7 @@ public class RemoteProcessGroupResource extends ApplicationResource {
|
|||
final RemoteProcessGroupPortDTO remoteProcessGroupPort = remoteProcessGroupPortEntity.getRemoteProcessGroupPort();
|
||||
|
||||
// update the specified remote process group
|
||||
final RemoteProcessGroupPortEntity controllerResponse = serviceFacade.updateRemoteProcessGroupInputPort(revision, remoteProcessGroupPort.getId(), remoteProcessGroupPort);
|
||||
final RemoteProcessGroupPortEntity controllerResponse = serviceFacade.updateRemoteProcessGroupInputPort(revision, id, remoteProcessGroupPort);
|
||||
|
||||
// get the updated revision
|
||||
final RevisionDTO updatedRevision = controllerResponse.getRevision();
|
||||
|
@ -401,7 +401,7 @@ public class RemoteProcessGroupResource extends ApplicationResource {
|
|||
final RemoteProcessGroupPortDTO remoteProcessGroupPort = remoteProcessGroupPortEntity.getRemoteProcessGroupPort();
|
||||
|
||||
// update the specified remote process group
|
||||
final RemoteProcessGroupPortEntity controllerResponse = serviceFacade.updateRemoteProcessGroupOutputPort(revision, remoteProcessGroupPort.getId(), remoteProcessGroupPort);
|
||||
final RemoteProcessGroupPortEntity controllerResponse = serviceFacade.updateRemoteProcessGroupOutputPort(revision, id, remoteProcessGroupPort);
|
||||
|
||||
// get the updated revision
|
||||
final RevisionDTO updatedRevision = controllerResponse.getRevision();
|
||||
|
|
Loading…
Reference in New Issue