Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyao committed Sep 1, 2021
1 parent e186582 commit 36c8fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ def get_mapping_meta(self) -> dict:

def set_mapping_meta(self, meta):
body = {"_meta": meta}
return self._es.indices.put_mapping(body=body, index=self.index_name)
return self.client.indices.put_mapping(body=body, index=self.index_name)

0 comments on commit 36c8fc0

Please sign in to comment.