Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Async loading of loadOptions for functionSelector does not work #164

Open
mjgorman opened this issue May 6, 2016 · 4 comments
Open

Async loading of loadOptions for functionSelector does not work #164

mjgorman opened this issue May 6, 2016 · 4 comments

Comments

@mjgorman
Copy link
Contributor

mjgorman commented May 6, 2016

Latest master, no functions show up when i try to run a job, unless you copy from a template, then only that function will show up in the list and load a docstring.

@Lothiraldan
Copy link
Owner

Hi @mjgorman, it's a known problem and I plan to ship the next version of saltpad with a set of known functions. I also need to find the best way to "search" function on salt-api without putting too much load on everyone cluster.

In the mean time, you can run sys.list_functions and saltpad will catch the functions names returned.

@mjgorman
Copy link
Contributor Author

mjgorman commented May 9, 2016

Good info, thanks @Lothiraldan

@Lothiraldan
Copy link
Owner

@mjgorman If it works for you now, could you please close the issue? I plan to improve this part in a next release.

@mjgorman
Copy link
Contributor Author

Pulled latest master. Behavior is different now. I get "No Results Found" rather than continuous searching of nothing. Workaround of running sys.list_functions still works.

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

2 participants