Update cliconf-> __init__.py -> get_capabilities() (#79097)

Doc string was incorrect. 
The `get_capabilities` method returns a Python Dict data structure not a JSON string as stated.
pull/81487/head
Michael Cone 1 year ago committed by GitHub
parent d0699cb44a
commit b4943e45d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -276,7 +276,7 @@ class CliconfBase(AnsiblePlugin):
'diff_replace': [list of supported replace values],
'output': [list of supported command output format]
}
:return: capability as json string
:return: capability as dict
"""
result = {}
result['rpc'] = self.get_base_rpc()

Loading…
Cancel
Save