mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor typo on deprecation warning (#30615)
This commit is contained in:
parent
869cd6f729
commit
05ec0c9b8d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue