From 163405d84f3c5e2ddad020f16a8e77b5ce6b0346 Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Wed, 18 Sep 2024 12:36:49 -0700 Subject: [PATCH] remove init healthcheck check --- traceability/pkg/beater/apigeelogbeater.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/traceability/pkg/beater/apigeelogbeater.go b/traceability/pkg/beater/apigeelogbeater.go index 4a90488a..7eec7b4f 100644 --- a/traceability/pkg/beater/apigeelogbeater.go +++ b/traceability/pkg/beater/apigeelogbeater.go @@ -1,8 +1,6 @@ package beater import ( - agenterrors "github.com/Axway/agent-sdk/pkg/util/errors" - hc "github.com/Axway/agent-sdk/pkg/util/healthcheck" "github.com/Axway/agent-sdk/pkg/util/log" "github.com/elastic/beats/v7/libbeat/beat" @@ -31,11 +29,6 @@ func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error) { return nil, err } - // Validate that all necessary services are up and running. If not, return error - if hc.RunChecks() != hc.OK { - return nil, agenterrors.ErrInitServicesNotReady - } - return bt, nil }