molten icon indicating copy to clipboard operation
molten copied to clipboard

no keyword args sent for job from browser

Open Vuader opened this issue 5 years ago • 0 comments

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

Vuader avatar Oct 25 '19 07:10 Vuader