[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [collector/master] Adapt sync/ path to recent change.
commit 3081583d9f4e0e55103f9f5afef2559dd3f46f95
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Thu Oct 27 20:32:54 2016 +0200
Adapt sync/ path to recent change.
---
src/main/java/org/torproject/collector/sync/SyncManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/torproject/collector/sync/SyncManager.java b/src/main/java/org/torproject/collector/sync/SyncManager.java
index 3996a2e..e199836 100644
--- a/src/main/java/org/torproject/collector/sync/SyncManager.java
+++ b/src/main/java/org/torproject/collector/sync/SyncManager.java
@@ -71,7 +71,7 @@ public class SyncManager {
Path basePath = conf.getPath(Key.SyncPath);
SyncPersistence persist = new SyncPersistence(conf);
for (URL source : sources) {
- File base = new File(basePath.toFile(), source.getHost());
+ File base = new File(basePath.toFile(), marker + "-" + source.getHost());
log.info("Merging {} from {} into storage ...", marker,
source.getHost());
for (Map.Entry<String, Class<? extends Descriptor>> entry
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits