From 24a5e34ce0bc8fcb00a0dfa0dc98f724a768480d Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Fri, 18 Jun 2021 22:03:59 +0100 Subject: [PATCH] add initialization for health ping --- app/observatory/burst/burstobserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/observatory/burst/burstobserver.go b/app/observatory/burst/burstobserver.go index 85d38ace9..f9364eb45 100644 --- a/app/observatory/burst/burstobserver.go +++ b/app/observatory/burst/burstobserver.go @@ -91,10 +91,12 @@ func New(ctx context.Context, config *Config) (*Observer, error) { if err != nil { return nil, newError("Cannot get depended features").Base(err) } + hp := NewHealthPing(ctx, config.PingConfig) return &Observer{ config: config, ctx: ctx, ohm: outboundManager, + hp: hp, }, nil }