influx-cli
influx-cli copied to clipboard
Inconsistency in required parameters for bucket commands
One bucket command can specify a bucket by name:
$ influx bucket delete --name test2
ID Name Retention Shard group duration Organization ID Schema Type Deleted
43<redacted>36 test2 infinite n/a 26<redacted>ca implicit true
And another cannot:
$ influx bucket update -r 3w --name test2
Error: Required flag "id" not set
It seems that if delete can look up the bucket by name, then update could as well.