commit | 7711c7389f6a9588277b776528e819ffe5c89f3a | [log] [tgz] |
---|---|---|
author | James Coglan <james@neighbourhood.ie> | Thu Nov 30 10:35:47 2023 +0000 |
committer | Jan Lehnardt <jan@apache.org> | Thu Nov 30 16:51:00 2023 +0100 |
tree | b8ebc6fd4983aad7b3c8c782cd0f0798e2f607d9 | |
parent | 3d60e4136a67f1be38d2b7a9763de874db9f96d4 [diff] |
Look up search node name in config for weatherreport Weatherreport is hard-coded to assume the search node is at 'clouseau@127.0.0.1' and that it is running. This results in a useless warning for users that do not have search enabled, and also means that it will fail to connect if Clouseau is running somewhere other than 127.0.0.1. This replaces the hard-coded node name with a config lookup to `[dreyfus] name` and handles the case of it not being set.