Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in required parameters for bucket commands #507

Open
reidkaufmann opened this issue Apr 27, 2023 · 0 comments
Open

Inconsistency in required parameters for bucket commands #507

reidkaufmann opened this issue Apr 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@reidkaufmann
Copy link

reidkaufmann commented Apr 27, 2023

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 reidkaufmann added the enhancement New feature or request label Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant