Skip to content

Commit

Permalink
fix monitoring script syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Apr 22, 2024
1 parent 42b64d4 commit 38374d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/progress_to_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def create_es_entry(self, catalog_file, **doc):
pprint(doc)
else:
try:
await self.es.index(index=self.index_name, id=catalog_file['uuid'], document=doc)
await self.es.index(self.index_name, doc, id=catalog_file['uuid'])
except Exception:
pprint(doc)
pprint(catalog_file)
Expand Down
2 changes: 1 addition & 1 deletion setupenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ virtualenv -p python3 env
echo "unset PYTHONPATH" >> env/bin/activate
. env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install -e .[dev,monitoring]

0 comments on commit 38374d1

Please sign in to comment.