Skip to content

Commit dfaf5c6

Browse files
committed
Fix es inventory aggregation
1 parent 4805ecc commit dfaf5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zentral/contrib/inventory/exporters/es_aggregations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import uuid
33
from django.utils import timezone
44
from elasticsearch import Elasticsearch, RequestError
5-
from elasticsearch.client.xpack import IlmClient
5+
from elasticsearch.client import IlmClient
66
from zentral.core.exceptions import ImproperlyConfigured
77
from zentral.contrib.inventory.models import Source
88
from zentral.contrib.inventory.utils import SourceFilter

0 commit comments

Comments
 (0)