Skip to content

Commit

Permalink
remove init healthcheck check
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Sep 18, 2024
1 parent a1f68c4 commit 163405d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions traceability/pkg/beater/apigeelogbeater.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 163405d

Please sign in to comment.