Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Tasks.list spec doesn't reflect reality #27124

Closed
honzakral opened this issue Oct 26, 2017 · 1 comment
Closed

[API] Tasks.list spec doesn't reflect reality #27124

honzakral opened this issue Oct 26, 2017 · 1 comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories

Comments

@honzakral
Copy link
Contributor

https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json specifies params node_id and parent_task instead of accepted nodes and parent_task_id.

This is present in 5.6, 6.0, and master branches.

Thanks, @nfsec, for discovering this in elastic/elasticsearch-py#659

@olcbean
Copy link
Contributor

olcbean commented Oct 27, 2017

I'd like to give this one a try.
It looks like the parameter names have been changed (in the code and in the docs, but not in the rest-api-spec). As the tests do not use these parameters, no error has been detected till now.

@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query DSL labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

4 participants