Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unhelpful warning is displayed when using deprecated configs #15568

Closed
@dannykopping

Description

@dannykopping

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.

WARN: Notifications: Email Auth: Password is deprecated, please use Email Auth: Password instead.
WARN: Telemetry (backwards compatibility) is deprecated, please use Telemetry Enable instead.

Metadata

Metadata

Assignees

Labels

bug riskProne to bugsdocsArea: coder.com/docss3Bugs that confuse, annoy, or are purely cosmetic

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions