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

Mismatch argument names at update_mapping rake task #825

Closed
programyan opened this issue Dec 10, 2021 · 0 comments
Closed

Mismatch argument names at update_mapping rake task #825

programyan opened this issue Dec 10, 2021 · 0 comments

Comments

@programyan
Copy link
Contributor

Update mapping rake task passes an unexpected argument to the helper method

Expected behavior

$ rake chewy:update_mapping[Products]
Index name is Products
Products index successfully updated
Total: 0s
$

Actual behavior

$ rake chewy:update_mapping[Products]
Index name is 
rake aborted!
NameError: uninitialized constant Index

Tasks: TOP => chewy:update_mapping
(See full trace by running task with --trace)
$

Steps to reproduce the problem

Just run the chewy:update_mapping rake task with a valid index name

Version Information

  • Chewy version 7.2.1
  • Elasticsearch version 7.12.1
  • Ruby version 2.7.1
  • Rails version 6.0.4
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

No branches or pull requests

1 participant