summaryrefslogtreecommitdiff
path: root/lib/ansible/utils
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2020-01-15 12:25:38 -0500
committerNathaniel Case <ncase@redhat.com>2020-01-15 12:25:38 -0500
commitaf3603f9eefc881f4cffb110fe26568c215d2866 (patch)
tree0b9e10eabcf5d8eb97d89885e1d287cd03b406fe /lib/ansible/utils
parent3103fd62dd2ba4a2aa09f60247cac8b234135dfc (diff)
downloadansible-af3603f9eefc881f4cffb110fe26568c215d2866.tar.gz
Revert "Allow httpapi for resource modules (#62843)" (#66483)
While this does properly pass our testing for ansible/ansible devel branch, it is currently breaking our collection testing for 2.10. Specifically, this would mean ansible.netcommon would need to directly import arista.eos or cisco.nxos collections, causing a circular dependency. This reverts commit e266e5f8b64c344fe7b9d711afe11c32e07954fa.
Diffstat (limited to 'lib/ansible/utils')
-rw-r--r--lib/ansible/utils/jsonrpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/jsonrpc.py b/lib/ansible/utils/jsonrpc.py
index 0a97c61054..e48c979d4c 100644
--- a/lib/ansible/utils/jsonrpc.py
+++ b/lib/ansible/utils/jsonrpc.py
@@ -39,7 +39,7 @@ class JsonRpcServer(object):
break
if not rpc_method:
- error = self.method_not_found(rpc_method)
+ error = self.method_not_found()
response = json.dumps(error)
else:
try: