From 7d567542c7685cf44a52050b8d16e61c373cd186 Mon Sep 17 00:00:00 2001 From: Andrew Ageev Date: Fri, 10 Dec 2021 14:43:37 +0300 Subject: [PATCH] [Fix #825] Mismatch argument names at update_mapping rake task (#826) --- CHANGELOG.md | 3 +++ lib/tasks/chewy.rake | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 640f90a3a..f31347bee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed + * [#825](https://github.com/toptal/chewy/issues/825): Fix mismatch argument names at update_mapping rake task ([@AgeevAndrew][]) + ## 7.2.3 (2021-10-29) ### New Features @@ -634,6 +636,7 @@ * Initial version [@0x0badc0de]: https://github.com/0x0badc0de +[@AgeevAndrew]: https://github.com/AgeevAndrew [@aglushkov]: https://github.com/aglushkov [@AlexVPopov]: https://github.com/AlexVPopov [@AndreySavelyev]: https://github.com/AndreySavelyev diff --git a/lib/tasks/chewy.rake b/lib/tasks/chewy.rake index 07e3cd0bd..5cf4ef17c 100644 --- a/lib/tasks/chewy.rake +++ b/lib/tasks/chewy.rake @@ -54,7 +54,7 @@ namespace :chewy do desc 'Update mapping of exising index with body hash' task :update_mapping, %i[index_name] => :environment do |_task, args| - Chewy::RakeHelper.update_mapping(name: args[:name]) + Chewy::RakeHelper.update_mapping(name: args[:index_name]) end namespace :parallel do