be10db87d2
NewTestConfig() would enable broker and data nodes so running influxd w/o a config file would start the nodes. If you ran influxd w/ a config file but did not explicitly set Data.Enabled or Broker.Enabled, the server would not start. This is not intuitive when moving to a config file setup. Instead, broker and data are enabled w/ the config file (like w/o) and they must be explicitly disabled to run in a data or broker only mode. This will help w/ backwards compatibility with existing config files. |
||
---|---|---|
.. | ||
backup.go | ||
backup_test.go | ||
config.go | ||
config_test.go | ||
handler.go | ||
help.go | ||
main.go | ||
restore.go | ||
restore_test.go | ||
run.go | ||
server_integration_test.go |