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

fix(pd): acme-staging flag should default to false #3726

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Feb 2, 2024

Follow up to #3705, which was subtly broken: the --acme-staging flag was always set to true, so I was getting staging certs even when I wanted prod ones. The problem was mistaken use of default_value in the clap derive markers. Simply setting the arg type as bool is sufficient; neither default_value nor default_value_t are appropriate here.

Follow up to #3705, which
was subtly broken: the `--acme-staging` flag was *always* set to true,
so I was getting staging certs even when I wanted prod ones. The problem
was mistaken use of `default_value` in the clap derive markers. Simply
setting the arg type as bool is sufficient; neither `default_value` nor
`default_value_t` are appropriate here.
@conorsch conorsch merged commit 71f14df into main Feb 2, 2024
7 checks passed
@conorsch conorsch deleted the fix-acme-staging-arg branch February 2, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant