Skip to content

Commit

Permalink
NIFI-6711 Clear secret key when auto restarting in order to obtain ne…
Browse files Browse the repository at this point in the history
…w secret key from the NiFi process

This closes apache#3780.

Signed-off-by: Kevin Doran <[email protected]>
  • Loading branch information
bbende authored and kevdoran committed Sep 30, 2019
1 parent 2ab9997 commit 7ac6e4c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ public boolean accept(final File dir, final String filename) {
}

defaultLogger.warn("Apache NiFi appears to have died. Restarting...");
secretKey = null;
process = builder.start();
handleLogging(process);

Expand Down

0 comments on commit 7ac6e4c

Please sign in to comment.