node/cmd: add missing bsc and polygon readiness registrations

This would cause the readiness check to not detect failures.

Change-Id: I7f38e8a201929bb10a71bc707a3513b565b05960
This commit is contained in:
Leo 2021-10-28 23:25:12 +02:00 committed by Leopold Schabel
parent 1226f85461
commit 964566c559
1 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,8 @@ func runNode(cmd *cobra.Command, args []string) {
readiness.RegisterComponent(common.ReadinessEthSyncing)
readiness.RegisterComponent(common.ReadinessSolanaSyncing)
readiness.RegisterComponent(common.ReadinessTerraSyncing)
readiness.RegisterComponent(common.ReadinessBSCSyncing)
readiness.RegisterComponent(common.ReadinessPolygonSyncing)
if *statusAddr != "" {
// Use a custom routing instead of using http.DefaultServeMux directly to avoid accidentally exposing packages