influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

influxdb 2.0.0-beta.9 setup wrong confirrmation of retention

Open poulhs opened this issue 6 years ago • 3 comments

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. ./influxdb_2.0.0-beta.9_linux_amd64/influxd
  2. ./influxdb_2.0.0-beta.9_linux_amd64/influx setup --org bug --bucket bug --retention 1h --username bug --password buggy

Expected behavior: Welcome to InfluxDB 2.0!

You have entered: Username: bug Organization: bug Bucket: bug Retention Period: 1 hrs Confirm? (y/n): Actual behavior: Welcome to InfluxDB 2.0!

You have entered: Username: bug Organization: bug Bucket: bug Retention Period: 3600000000000 hrs Confirm? (y/n): Environment info:

  • System Info: Linux x86_64

  • InfluxDB version: InfluxDB 2.0.0-beta.9 (git: eb6a5520df) build_date: 2020-04-24T20:14:53Z

  • System info: Run uname -srm and copy the output here

  • InfluxDB version: Run influxd version and copy the output here

  • Other relevant environment details: Container runtime, disk info, etc

Time matters....

poulhs avatar Apr 24 '20 20:04 poulhs

@poulhs thanks for the issue. yeah this is a bug. we will take a look.

russorat avatar May 08 '20 16:05 russorat

@poulhs thanks for filing this bug! fix is in and should land in the next release 👍

jsteenb2 avatar May 08 '20 17:05 jsteenb2

but it was such a nice bug.... :wink:

poulhs avatar May 09 '20 00:05 poulhs