fix null pointer exception

filename were generated without '$', but the parsing code expected
the '$'.
This commit is contained in:
2018-03-28 19:34:48 +02:00
parent 9f37243ba3
commit 22c99f8517
3 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ public class TcpIngestor implements Ingestor, AutoCloseable, DisposableBean {
default:
if (value instanceof String) {
tags.add(key, (String) value);
} else {
} else if (value != null) {
tags.add(key, String.valueOf(value));
}
break;