mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46899 from rallytime/bp-45116
Back-port #45116 to 2017.7
This commit is contained in:
commit
71839b0303
1 changed files with 6 additions and 1 deletions
|
@ -119,10 +119,15 @@ def query(key, value=None, service=None, profile=None): # pylint: disable=W0613
|
|||
**key_vars
|
||||
)
|
||||
|
||||
extras = {}
|
||||
for item in profile[key]:
|
||||
if item not in ('backend', 'url'):
|
||||
extras[item] = profile[key][item]
|
||||
|
||||
result = http.query(
|
||||
url,
|
||||
decode=True,
|
||||
**key_vars
|
||||
**extras
|
||||
)
|
||||
|
||||
return result['dict']
|
||||
|
|
Loading…
Add table
Reference in a new issue