Revert "Draft: Add Err() function to Response for detailed errors (#2… #172
Annotations
10 errors and 7 warnings
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.indices.flush.go#L27
27-284 lines are duplicate of `opensearchapi/api.indices.upgrade.go:27-284` (dupl)
|
Lint:
opensearchapi/api.indices.upgrade.go#L27
27-284 lines are duplicate of `opensearchapi/api.indices.flush.go:27-284` (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/api.dangling_indices.list_dangling_indices.go#L67
67-138 lines are duplicate of `opensearchapi/api.get_script_context.go:69-140` (dupl)
|
Lint:
opensearchapi/api.get_script_context.go#L69
69-140 lines are duplicate of `opensearchapi/api.get_script_languages.go:69-140` (dupl)
|
Lint:
opensearchapi/api.get_script_languages.go#L69
69-140 lines are duplicate of `opensearchapi/api.info.go:82-153` (dupl)
|
Lint:
opensearchapi/api.info.go#L82
82-153 lines are duplicate of `opensearchapi/api.ingest.processor_grok.go:67-138` (dupl)
|
Lint:
opensearchapi/opensearchapi_response_internal_test.go#L41
unused-parameter: parameter 'p' 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/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:
opensearchutil/bulk_indexer_benchmark_test.go#L65
unused-parameter: parameter 'req' 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)
|