diff --git a/pom.xml b/pom.xml index 8e7149b1..655ab140 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.pinterest.singer singer-package - 0.8.0.78 + 0.8.0.79 pom Singer Logging Agent modules 2013 diff --git a/singer-commons/pom.xml b/singer-commons/pom.xml index eb0ac87c..65c3753d 100644 --- a/singer-commons/pom.xml +++ b/singer-commons/pom.xml @@ -19,7 +19,7 @@ com.pinterest.singer singer-package - 0.8.0.78 + 0.8.0.79 ../pom.xml diff --git a/singer/pom.xml b/singer/pom.xml index db78dc7b..3a5512c2 100644 --- a/singer/pom.xml +++ b/singer/pom.xml @@ -7,7 +7,7 @@ com.pinterest.singer singer-package - 0.8.0.78 + 0.8.0.79 ../pom.xml diff --git a/singer/src/main/java/com/pinterest/singer/kubernetes/KubeService.java b/singer/src/main/java/com/pinterest/singer/kubernetes/KubeService.java index d6cf2861..ec1dcef1 100644 --- a/singer/src/main/java/com/pinterest/singer/kubernetes/KubeService.java +++ b/singer/src/main/java/com/pinterest/singer/kubernetes/KubeService.java @@ -450,6 +450,7 @@ public static void reset() { } private boolean checkIgnoreDirectory(String podName) { + if (ignorePodDirectory == null || ignorePodDirectory.isEmpty()) return false; return Files.exists(Paths.get(podLogDirectory, podName, ignorePodDirectory)); } } diff --git a/thrift-logger/pom.xml b/thrift-logger/pom.xml index e91dc543..738b32b7 100644 --- a/thrift-logger/pom.xml +++ b/thrift-logger/pom.xml @@ -4,7 +4,7 @@ com.pinterest.singer singer-package - 0.8.0.78 + 0.8.0.79 ../pom.xml thrift-logger