Remove final flag from ServerBootstrap option variables, they need to be modifiable. (#17169)

This commit is contained in:
Tomas Dvorak
2023-11-06 11:21:15 +01:00
committed by GitHub
parent 64722d5913
commit 473272c703

View File

@@ -73,10 +73,10 @@ public abstract class ServerBootstrap extends CmdLineTool {
}
@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);