mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Remove final flag from ServerBootstrap option variables, they need to be modifiable. (#17169)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user