Skip to content

Return HTTP response as second value in typed client functions #1

Return HTTP response as second value in typed client functions

Return HTTP response as second value in typed client functions #1

Status Failure
Total duration 5m 56s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: error_test.go#L1
: # github.com/opensearch-project/opensearch-go/v4_test [github.com/opensearch-project/opensearch-go/v4.test]
Lint: opensearch_benchmark_test.go#L123
assignment mismatch: 2 variables but client.Info returns 3 values
Lint: opensearch_benchmark_test.go#L152
assignment mismatch: 2 variables but client.Index returns 3 values
Lint: opensearch_benchmark_test.go#L175
assignment mismatch: 2 variables but client.Search returns 3 values
Lint: opensearch_benchmark_test.go#L203
assignment mismatch: 2 variables but client.Bulk returns 3 values
Lint: opensearch_example_test.go#L56
assignment mismatch: 2 variables but client.Info returns 3 values (typecheck)
Lint: opensearchapi/api_dangling.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/opensearch-project/opensearch-go) (gci)
Lint: opensearchapi/api_datastream.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/opensearch-project/opensearch-go) (gci)
Lint: opensearchapi/api_scroll.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/opensearch-project/opensearch-go) (gci)
Lint: opensearchapi/api_cluster.go#L20
line is 158 characters (lll)
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/