Skip to content

Commit

Permalink
[ILM] Fix api integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliacech committed Oct 8, 2020
1 parent 72d0cf9 commit 44382d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const initElasticsearchHelpers = (es) => {

const cleanUp = () => Promise.all([deleteAllIndices(), deleteAllTemplates()]);

const getNodesStats = () => es.nodes.stats();
const getNodesStats = () => es.nodes.stats().then(({ body }) => body);

return {
getIndex,
Expand Down

0 comments on commit 44382d2

Please sign in to comment.