[Elasticsearch-xpack] [Metricbeat] Fix elasticsearch-xpack error when Machine Learning is explicitly disabled #20827
Annotations
5 errors and 3 warnings
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L21
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L38
Error return value of `w.Write` is not checked (errcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L41
Error return value of `w.Write` is not checked (errcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L50
Error return value of `w.Write` is not checked (errcheck)
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
|
The logs for this run have expired and are no longer available.
Loading