mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-04 17:48:52 +00:00
Revert "ACI: Implement encoded query_string" (#56783)
This reverts commit 1690af04fe42c657cbf0092d18c86bb517fe86a7.
This commit is contained in:
parent
e4239d9424
commit
4f89c1d508
11 changed files with 47 additions and 51 deletions
|
|
@ -37,7 +37,6 @@ import os
|
|||
from copy import deepcopy
|
||||
|
||||
from ansible.module_utils.parsing.convert_bool import boolean
|
||||
from ansible.module_utils.six.moves.urllib.parse import urlencode
|
||||
from ansible.module_utils.urls import fetch_url
|
||||
from ansible.module_utils._text import to_bytes, to_native
|
||||
|
||||
|
|
@ -402,7 +401,7 @@ class ACIModule(object):
|
|||
self.filter_string += '&'
|
||||
else:
|
||||
self.filter_string = '?'
|
||||
self.filter_string += urlencode(accepted_params)
|
||||
self.filter_string += '&'.join(['%s=%s' % (k, v) for (k, v) in accepted_params.items()])
|
||||
|
||||
# TODO: This could be designed to accept multiple obj_classes and keys
|
||||
def build_filter(self, obj_class, params):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue