Skip to content

Commit

Permalink
Remove final flag from ServerBootstrap option variables, they need to…
Browse files Browse the repository at this point in the history
… be modifiable. (#17169)
  • Loading branch information
todvora authored Nov 6, 2023
1 parent 64722d5 commit 473272c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ protected ServerBootstrap(String commandName, Configuration configuration) {
}

@Option(name = {"-p", "--pidfile"}, description = "File containing the PID of Graylog DataNode")
private final String pidFile = TMPDIR + FILE_SEPARATOR + "datanode.pid";
private String pidFile = TMPDIR + FILE_SEPARATOR + "datanode.pid";

@Option(name = {"-np", "--no-pid-file"}, description = "Do not write a PID file (overrides -p/--pidfile)")
private final boolean noPidFile = false;
private boolean noPidFile = false;

protected abstract void startNodeRegistration(Injector injector);

Expand Down

0 comments on commit 473272c

Please sign in to comment.