From 85194234baf2c7265dfb69c9069c3203efb37496 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 13 Feb 2017 10:37:29 -0500 Subject: [PATCH] fixed bad copy/paste, deprecations should deprecate --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 7dc4a967289..856a456beff 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1955,7 +1955,7 @@ class AnsibleModule(object): if 'deprecations' in kwargs: if isinstance(kwargs['deprecations'], list): for d in kwargs['deprecations']: - self.warn(d) + self.deprecate(d) else: self.warn(kwargs['deprecations'])