Skip to content

Fixing GetSourceRequest (#402) #184

Fixing GetSourceRequest (#402)

Fixing GetSourceRequest (#402) #184

Triggered via push October 23, 2023 17:48
Status Success
Total duration 50s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint: signer/aws/aws.go#L33
G101: Potential hardcoded credentials (gosec)
Lint: signer/awsv2/sdkv2signer.go#L32
G101: Potential hardcoded credentials (gosec)
Lint: opensearchtransport/metrics.go#L110
G601: Implicit memory aliasing in for loop. (gosec)
Lint: internal/version/version.go#L30
File is not `gofmt`-ed with `-s` (gofmt)
Lint: opensearchapi/api.snapshot.cleanup_repository.go#L27
27-252 lines are duplicate of `opensearchapi/api.snapshot.verify_repository.go:27-252` (dupl)
Lint: opensearchapi/api.snapshot.verify_repository.go#L27
27-252 lines are duplicate of `opensearchapi/api.snapshot.cleanup_repository.go:27-252` (dupl)
Lint: opensearchapi/api.delete_by_query_rethrottle.go#L27
27-224 lines are duplicate of `opensearchapi/api.reindex_rethrottle.go:27-224` (dupl)
Lint: opensearchapi/api.reindex_rethrottle.go#L27
27-224 lines are duplicate of `opensearchapi/api.update_by_query_rethrottle.go:27-224` (dupl)
Lint: opensearchapi/api.update_by_query_rethrottle.go#L27
27-224 lines are duplicate of `opensearchapi/api.delete_by_query_rethrottle.go:27-224` (dupl)
Lint: opensearchapi/api.cluster.remote_info.go#L67
67-138 lines are duplicate of `opensearchapi/api.dangling_indices.list_dangling_indices.go:67-138` (dupl)
Lint: opensearchapi/opensearchapi_response_internal_test.go#L43
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
Lint: opensearchutil/json_reader_internal_test.go#L42
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
Lint: opensearchutil/json_reader_internal_test.go#L43
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
Lint: opensearchutil/json_reader_internal_test.go#L44
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
Lint: opensearch_benchmark_test.go#L86
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
Lint: opensearchutil/bulk_indexer_example_test.go#L128
superfluous-else: if block ends with call to log.Fatalf function, so drop this else and outdent its block (revive)
Lint: opensearchutil/bulk_indexer_benchmark_test.go#L65
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)