From dfaf5c69296fe3bcad8c98a5508fa274452cf42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Falconnier?= Date: Thu, 14 May 2020 15:38:29 +0200 Subject: [PATCH] Fix es inventory aggregation --- zentral/contrib/inventory/exporters/es_aggregations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zentral/contrib/inventory/exporters/es_aggregations.py b/zentral/contrib/inventory/exporters/es_aggregations.py index 43f4f511d9..8b16212279 100644 --- a/zentral/contrib/inventory/exporters/es_aggregations.py +++ b/zentral/contrib/inventory/exporters/es_aggregations.py @@ -2,7 +2,7 @@ import uuid from django.utils import timezone from elasticsearch import Elasticsearch, RequestError -from elasticsearch.client.xpack import IlmClient +from elasticsearch.client import IlmClient from zentral.core.exceptions import ImproperlyConfigured from zentral.contrib.inventory.models import Source from zentral.contrib.inventory.utils import SourceFilter