1
0
Fork 0
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:
David Mahler 2017-09-21 03:03:23 -07:00 committed by Trishna Guha
parent 869cd6f729
commit 05ec0c9b8d

View file

@ -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)