diff --git a/src/main/java/org/elasticsearch/watcher/execution/Wid.java b/src/main/java/org/elasticsearch/watcher/execution/Wid.java index 363b8240936..cd146b4910b 100644 --- a/src/main/java/org/elasticsearch/watcher/execution/Wid.java +++ b/src/main/java/org/elasticsearch/watcher/execution/Wid.java @@ -23,7 +23,7 @@ public class Wid { public Wid(String watchId, long nonce, DateTime executionTime) { this.watchId = watchId; - this.value = watchId + "_" + String.valueOf(nonce) + "#" + formatter.print(executionTime); + this.value = watchId + "_" + String.valueOf(nonce) + "-" + formatter.print(executionTime); } public Wid(String value) {