Skip to content

Commit

Permalink
Make use of the proper api to avoid warning printed by kuzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Jun 20, 2024
1 parent de9338c commit d92a68f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/support/dump-collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,12 @@ export async function dumpCollectionMappings(
type: "mappings",
content: {
[index]: {
[collection]: mappings,
[collection]: {
mappings
// For later use, we could add the settings here
// eg: "settings": { "index.mapping.total_fields.limit": 10000 }
// This can be added after the dump and it will work with kourou:import command
},
},
},
};
Expand Down

0 comments on commit d92a68f

Please sign in to comment.