summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2017-06-05 20:20:27 +0530
committerAdrian Likins <alikins@redhat.com>2017-06-05 10:50:27 -0400
commit38775c53637e9c7ddad6c72b6323fd6c4f442386 (patch)
treeac7fd8e2d98f30b7c741914269db2fa96b11ee1f
parente28845018d0f283249119221e60f3a980d3e3c89 (diff)
downloadansible-38775c53637e9c7ddad6c72b6323fd6c4f442386.tar.gz
Fix a minor typo in network_common (#25328)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
-rw-r--r--lib/ansible/module_utils/network_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/network_common.py b/lib/ansible/module_utils/network_common.py
index c3d1a3dd76..20aac99b04 100644
--- a/lib/ansible/module_utils/network_common.py
+++ b/lib/ansible/module_utils/network_common.py
@@ -87,7 +87,7 @@ class ComplexDict(object):
if attr.get('key'):
if self._has_key:
raise ValueError('only one key value can be specified')
- self_has_key = True
+ self._has_key = True
attr['required'] = True
def _dict(self, value):