diff options
author | bnewbold <bnewbold@archive.org> | 2022-03-10 00:08:11 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2022-03-10 00:08:11 +0000 |
commit | e4cbe43692a9c26911ea54ee88d7df0980e1d9fe (patch) | |
tree | 66090d73714ed043bf6eec608aebe136704320c7 /python/fatcat_tools/workers | |
parent | 72e3825893ae614fcd6c6ae8a513745bfefe36b2 (diff) | |
parent | f9b69d0b4343403ecf9318dc6d66725f6144edad (diff) | |
download | fatcat-e4cbe43692a9c26911ea54ee88d7df0980e1d9fe.tar.gz fatcat-e4cbe43692a9c26911ea54ee88d7df0980e1d9fe.zip |
Merge branch 'bnewbold-container-web' into 'master'
container web interface improvements
See merge request webgroup/fatcat!140
Diffstat (limited to 'python/fatcat_tools/workers')
-rw-r--r-- | python/fatcat_tools/workers/elasticsearch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/workers/elasticsearch.py b/python/fatcat_tools/workers/elasticsearch.py index bfadea64..79071810 100644 --- a/python/fatcat_tools/workers/elasticsearch.py +++ b/python/fatcat_tools/workers/elasticsearch.py @@ -14,13 +14,13 @@ from fatcat_openapi_client import ( ) from fatcat_tools import entity_from_json, public_api +from fatcat_tools.search.stats import query_es_container_stats from fatcat_tools.transforms import ( changelog_to_elasticsearch, container_to_elasticsearch, file_to_elasticsearch, release_to_elasticsearch, ) -from fatcat_web.search import get_elastic_container_stats from .worker_common import FatcatWorker @@ -156,7 +156,7 @@ class ElasticsearchReleaseWorker(FatcatWorker): continue if self.entity_type == ContainerEntity and self.query_stats: - stats = get_elastic_container_stats( + stats = query_es_container_stats( entity.ident, es_client=es_client, es_index=self.elasticsearch_release_index, |