NIFI-1313 Allow deletion of ProcessGroups that contain nested ProcessGroups

Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
This commit is contained in:
Richard Miskin 2015-12-19 07:07:54 +00:00 committed by Matt Gilman
parent 317b2f4a4a
commit 8a8ae5508f
1 changed files with 3 additions and 1 deletions

View File

@ -1902,7 +1902,9 @@ public final class StandardProcessGroup implements ProcessGroup {
}
for (final ProcessGroup childGroup : processGroups.values()) {
childGroup.verifyCanDelete();
// For nested child groups we can ignore the input/output port
// connections as they will be being deleted anyway.
childGroup.verifyCanDelete(true);
}
if (!ignoreConnections) {