Skip to content

Commit

Permalink
also keep deprecation order
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Feb 6, 2024
1 parent db2ea2d commit 7f57816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/constants.py
Expand Up @@ -55,7 +55,7 @@ def handle_config_noise(display=None):

while config.DEPRECATED:
# tuple with name and options
dep = config.DEPRECATED.pop()
dep = config.DEPRECATED.pop(0)
msg = config.get_deprecated_msg_from_config(dep[1])
d(msg, version=dep[1]['version'])

Expand Down

0 comments on commit 7f57816

Please sign in to comment.