Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

no keyword args sent for job from browser #62

Open
Vuader opened this issue Oct 25, 2019 · 0 comments
Open

no keyword args sent for job from browser #62

Vuader opened this issue Oct 25, 2019 · 0 comments

Comments

@Vuader
Copy link

Vuader commented Oct 25, 2019

Issue:

Some jobs require keyword arguments. For example:

salt net.config '*' source='running'

When entering source='running' (or any key value pair such as foo='bar') in the "Keyword Arguments" field on /molten/execute, the json data submitted has an empty value for kwarg:

client: "local"
expr_form: "glob"
fun: "net.config"
kwarg: {}
tgt: "*"

As a result, incorrect response is received. Tested this on MAC with Safari, Firefox and Chrome

Expected behaviour:
kwargs are sent and net.config returns with value for runningoutXXXX

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant