Skip to content

Commit

Permalink
Merge pull request #561 from ripienaar/jsa_test_consistency
Browse files Browse the repository at this point in the history
consistency update for consumer check
  • Loading branch information
ripienaar authored Aug 6, 2024
2 parents 6bb13d1 + 1cc091e commit b0cf607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func ExtractConsumerHealthCheckOptions(metadata map[string]string, extraChecks .
return opts, nil
}

func ConsumerHealthCheck(consumer *jsm.Consumer, opts ConsumerHealthCheckOptions, check *Result, log api.Logger) error {
func ConsumerHealthCheck(consumer *jsm.Consumer, check *Result, opts ConsumerHealthCheckOptions, log api.Logger) error {
// make sure latest info cache is set as checks accesses it directly
nfo, err := consumer.LatestState()
if check.CriticalIfErr(err, "could not load info: %v", err) {
Expand Down

0 comments on commit b0cf607

Please sign in to comment.