Skip to content

Commit

Permalink
NIFI-13800: Addressed issue that was causing failures in system tests…
Browse files Browse the repository at this point in the history
… / when cluster starts up for first time
  • Loading branch information
markap14 committed Sep 24, 2024
1 parent 3e239d0 commit 3d5dd4c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ public synchronized void sync(final FlowController controller, final DataFlow pr

// handle corner cases involving no proposed flow
if (isFlowEmpty(proposedFlow)) {
if (root.isEmpty()) {
return; // no sync to perform
} else {
if (!root.isEmpty()) {
throw new UninheritableFlowException("Attempted to inherit an empty flow, but this NiFi instance already has a flow loaded.");
}
}
Expand Down

0 comments on commit 3d5dd4c

Please sign in to comment.