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

Respect old downtime setting name if user has already set it #14361

Merged
merged 1 commit into from Feb 15, 2024

Conversation

AlanCoding
Copy link
Member

SUMMARY

Followup from https://github.com/ansible/awx/pull/14347/files

The concern is that if anyone was already using this, that it will stop working with that change. We need a window for upgrades without any disruption. Eventually we can remove this.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@relrod
Copy link
Member

relrod commented Aug 21, 2023

Eventually we can remove this.

Do we have a way to deprecate old settings and show a DeprecationWarning or something in logs, if someone overrides them?

Otherwise, I don't see how we get people to stop using the old one.

@AlanCoding
Copy link
Member Author

There are a great deal of settings that are only documented by their existence in the defaults file. That file does have a fairly robust comment with each setting.

The setting has already been renamed in that location.

@dmzoneill dmzoneill merged commit 362e11a into ansible:devel Feb 15, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants