mirror of https://github.com/apache/nifi.git
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:
parent
317b2f4a4a
commit
8a8ae5508f
|
@ -1902,7 +1902,9 @@ public final class StandardProcessGroup implements ProcessGroup {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (final ProcessGroup childGroup : processGroups.values()) {
|
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) {
|
if (!ignoreConnections) {
|
||||||
|
|
Loading…
Reference in New Issue