influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

Inconsistency in required parameters for bucket commands

Open reidkaufmann opened this issue 1 year ago • 0 comments

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.

reidkaufmann avatar Apr 27 '23 21:04 reidkaufmann