1
0
Fork 0
forked from gitea/nas

Fix tootctl search deploy --only-mapping not updating index settings (#34566)

This commit is contained in:
Eugen Rochko 2025-04-28 15:02:41 +02:00 committed by GitHub
parent 40157e063d
commit bd9223f0b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -56,7 +56,7 @@ module Mastodon::CLI
if options[:only_mapping]
indices.select { |index| index.specification.changed? }.each do |index|
progress.title = "Updating mapping for #{index} "
index.update_mapping
index.update_specification
index.specification.lock!
end