hs: Remove hamrless BUG() that can happen
commitf93ccb8d247ad2a601b697ca2ed0004f428fbd15
authorDavid Goulet <dgoulet@torproject.org>
Wed, 10 Mar 2021 14:12:29 +0000 (10 09:12 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 10 Mar 2021 14:12:29 +0000 (10 09:12 -0500)
tree200180bdee9ae8da6011357f9c95585b61cd62ba
parent49ce31b2b6c0cfbcccb605ee58b612f73e2a228a
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>
changes/ticket40334 [new file with mode: 0644]
src/feature/hs/hs_metrics.c
src/feature/hs/hs_service.c