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

Fix parsing of file based template loading #4425

Conversation

spinscale
Copy link
Contributor

We support three different settings in templates

  • "settings" : { "index" : { "number_of_shards" : 12 } }
  • "settings" : { "index.number_of_shards" : 12 }
  • "settings" : { "number_of_shards" : 12 }

The latter one was not supported by the fix in #4235

This commit fixes this issue and uses randomized testing to test any of the three cases above when running integration tests.

Closes #4411

@kimchy
Copy link
Member

kimchy commented Dec 17, 2013

LGTM

We support three different settings in templates

* "settings" : { "index" : { "number_of_shards" : 12 } }
* "settings" : { "index.number_of_shards" : 12 }
* "settings" : { "number_of_shards" : 12 }

The latter one was not supported by the fix in elastic#4235

This commit fixes this issue and uses randomized testing to test any of the three cases above when running integration tests.

Closes elastic#4411
@spinscale spinscale merged commit 59cedea into elastic:master Dec 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

problem picking up templates in the config/templates directory
2 participants