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

fixes datastore command not using the spicedb prefix for ENV #1682

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

vroldanbet
Copy link
Contributor

the datastore command didn't correctly wire up the program name, which is spicedb. This is used
to determine the prefix of environment variables.

As a consequence, the datastore command won't recognize environment variables like SPICEDB_<CONFIG_OPTION> but instead expects DATASTORE_<CONFIG_OPTION>.

the datastore command didn't correctly wire up the
program name, which is `spicedb`. This is used
to determine the prefix of environment variables.

As a consequence, the datastore command won't recognize
environment variables like `SPICEDB_<CONFIG_OPTION>`
but instead expects `DATASTORE_<CONFIG_OPTION>`.
@vroldanbet vroldanbet requested a review from a team December 11, 2023 09:49
@vroldanbet vroldanbet changed the title fixes datastore command not using the spicedb prefix fixes datastore command not using the spicedb prefix for ENV Dec 11, 2023
@vroldanbet vroldanbet self-assigned this Dec 11, 2023
@github-actions github-actions bot added the area/CLI Affects the command line label Dec 11, 2023
@jzelinskie jzelinskie added the kind/bug Something is broken or regressed label Dec 12, 2023
Copy link
Member

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've hit this locally and had to switch from the env to the flag. I thought I had just fat-fingered something, but I guess it was a bug!

@jzelinskie jzelinskie added this pull request to the merge queue Dec 12, 2023
Merged via the queue into main with commit 9baeea1 Dec 12, 2023
20 checks passed
@jzelinskie jzelinskie deleted the fix-datastore-command-program-name branch December 12, 2023 17:30
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line kind/bug Something is broken or regressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants