mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
put info about self in repo too when initializing
This commit is contained in:
@@ -71,7 +71,8 @@ public class PersistentRemoteHostsService {
|
||||
}
|
||||
return null;
|
||||
});
|
||||
jObjectManager.put(new PeerDirectory(), Optional.empty());
|
||||
var dir = jObjectManager.put(new PeerDirectory(), Optional.empty());
|
||||
jObjectManager.put(new PersistentPeerInfo(_selfUuid, getSelfCertificate()), Optional.of(dir.getName()));
|
||||
}
|
||||
|
||||
jObjectResolver.registerWriteListener(PersistentPeerInfo.class, (m, d, i, v) -> {
|
||||
|
||||
Reference in New Issue
Block a user