From 115f931dd1d712549c81053d386acae61655978a Mon Sep 17 00:00:00 2001 From: Gary Brown Date: Wed, 20 Nov 2019 09:51:36 +0000 Subject: [PATCH] Update python pathlib to pathlib2 which is an actively maintained version (#1930) Signed-off-by: Gary Brown --- plugin/storage/es/Dockerfile.rollover | 2 +- plugin/storage/es/esRollover.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/storage/es/Dockerfile.rollover b/plugin/storage/es/Dockerfile.rollover index 9d8de41dc3d..6dfce581f2a 100644 --- a/plugin/storage/es/Dockerfile.rollover +++ b/plugin/storage/es/Dockerfile.rollover @@ -3,7 +3,7 @@ FROM python:3-alpine # Temporary fix for https://github.com/jaegertracing/jaeger/issues/1494 RUN pip install urllib3==1.21.1 -RUN pip install elasticsearch elasticsearch-curator +RUN pip install elasticsearch elasticsearch-curator pathlib2 COPY ./mappings/* /mappings/ COPY esRollover.py /es-rollover/ diff --git a/plugin/storage/es/esRollover.py b/plugin/storage/es/esRollover.py index 30c657d4c65..23eb8ef7fff 100755 --- a/plugin/storage/es/esRollover.py +++ b/plugin/storage/es/esRollover.py @@ -8,7 +8,7 @@ import requests import ssl import sys -from pathlib import Path +from pathlib2 import Path from requests.auth import HTTPBasicAuth