From e72984a8921f16018d9ca3fb34c931deec06d9a5 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sat, 4 Jan 2020 16:29:55 +0100 Subject: Fix tests --- src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java index 1ab8a16..2119653 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java @@ -94,6 +94,8 @@ public class Qurnik extends Module { if (!currentPath.toString().equals("/")) { newAttributes.add("name", new ValueString(currentPath.getSingletonName())); + } else { + newAttributes.add("name", new ValueString(null)); } long currentTime = System.currentTimeMillis(); newAttributes.add("timestamp", new ValueTime(currentTime)); -- cgit v1.2.3