m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-04 16:29:55 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-04 16:29:55 +0100
commite72984a8921f16018d9ca3fb34c931deec06d9a5 (patch)
treedab9949f2bc7481e887d76fe3b8bb6979b96a62e /src/main/java/pl/edu/mimuw
parent237a7caa6971b67d6f98aa4f2aae3cbab7d86def (diff)
Fix tests
Diffstat (limited to 'src/main/java/pl/edu/mimuw')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Qurnik.java2
1 files changed, 2 insertions, 0 deletions
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));