We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When a deprecated setting is used, a warning is posted but it doesn't indicate the flag or the env to be used, but rather its name.
PrintDeprecatedOptions() is where this is defined. We should probably print the CLI flag, env var name, or a link to the documentation.
PrintDeprecatedOptions()
WARN: Notifications: Email Auth: Password is deprecated, please use Email Auth: Password instead. WARN: Telemetry (backwards compatibility) is deprecated, please use Telemetry Enable instead.
The text was updated successfully, but these errors were encountered:
The related code is located here
coder/cli/server.go
Lines 1265 to 1297 in a2433b1
This could be made nicer by inspecting opt.ValueSource to see how the end user has configured the option and printing the relevant flags this way.
opt.ValueSource
Sorry, something went wrong.
chore(cli): use option source name for deprecation warnings (#15581)
1c08580
Closes #15568.
ethanndickson
Successfully merging a pull request may close this issue.
When a deprecated setting is used, a warning is posted but it doesn't indicate the flag or the env to be used, but rather its name.
PrintDeprecatedOptions()
is where this is defined. We should probably print the CLI flag, env var name, or a link to the documentation.The text was updated successfully, but these errors were encountered: