Be noisy about available services

This commit is contained in:
Tony Garnock-Jones 2019-06-13 14:33:14 +01:00
parent 449e8c07a5
commit 3d5e8c0298
1 changed files with 2 additions and 2 deletions

View File

@ -258,11 +258,11 @@ spawn named 'remap-service' {
during C.ServerConnected(server_addr) {
on asserted C.FromServer(server_addr, $entry(AddressMap(_, _, _))) {
debug('+', entry.toString());
console.log('+', entry.toString());
this.table = this.table.set(lc(AddressMap._from(entry)), entry);
}
on retracted C.FromServer(server_addr, $entry(AddressMap(_, _, _))) {
debug('-', entry.toString());
console.log('-', entry.toString());
this.table = this.table.remove(lc(AddressMap._from(entry)));
}