influxdb/cmd
Adrian Thurston e0543e6e3a
fix: various improvements to setup command (#20155)
When checking for existing configs, check the length of the array after
parsing. There could be an empty config file present.

If --name was specified then use that as the configuration name, regardless of
whether or not there are existing configs.

Allow a 0 (infinite) retention to be specified with --retention when in
interactive mode.


Co-authored-by: Dan Moran <dmoran@influxdata.com>
2020-12-02 10:39:56 -05:00
..
chronograf-migrator chore(query): use dbrp v2 service in flux influx.v1 dependencies (#19108) 2020-08-12 11:08:25 +01:00
influx fix: various improvements to setup command (#20155) 2020-12-02 10:39:56 -05:00
influx_inspect chore(influxdb): Placate the linter. 2020-08-27 15:46:32 -04:00
influxd refactor(cmd/influxd): parse log-level CLI opts directly to correct type (#20196) 2020-11-30 13:59:06 -05:00
internal feat(upgrade): upgrade command basic skeleton 2020-10-01 08:06:42 -07:00
telemetryd chore: Do not use global viper APIs, which breaks testing 2020-11-13 08:47:52 +11:00