mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Minor typo on deprecation warning (#30615)
This commit is contained in:
committed by
Trishna Guha
parent
869cd6f729
commit
05ec0c9b8d
@@ -66,7 +66,7 @@ def check_args(module, warnings):
|
|||||||
for key in vyos_argument_spec:
|
for key in vyos_argument_spec:
|
||||||
if module._name == 'vyos_user':
|
if module._name == 'vyos_user':
|
||||||
if key not in ['password', 'provider'] and module.params[key]:
|
if key not in ['password', 'provider'] and module.params[key]:
|
||||||
warnings.append('argument %s has been deprecated and will be in a future version' % key)
|
warnings.append('argument %s has been deprecated and will be removed in a future version' % key)
|
||||||
else:
|
else:
|
||||||
if key != 'provider' and module.params[key]:
|
if key != 'provider' and module.params[key]:
|
||||||
warnings.append('argument %s has been deprecated and will be removed in a future version' % key)
|
warnings.append('argument %s has been deprecated and will be removed in a future version' % key)
|
||||||
|
|||||||
Reference in New Issue
Block a user