hs: Remove hamrless BUG() that can happen

When reloading a service, we can re-register a service and thus end up again
in the metrics store initialization code path which is fine. No need to BUG()
anymore.

Fixes #40334

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2021-03-10 09:12:29 -05:00
parent 49ce31b2b6
commit f93ccb8d24
3 changed files with 11 additions and 4 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (onion service):
- Remove a harmless BUG() warning when reloading tor configured with onion
services. Fixes bug 40334; bugfix on 0.4.5.1-alpha.