Skip to content

Update oracle.go

Update oracle.go #3403

Triggered via push September 21, 2023 10:10
Status Failure
Total duration 2m 46s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: pkg/dia/scraper/synthetic-scrapers/atokenScraper.go#L68
ineffectual assignment to err (ineffassign)
lint: pkg/http/restServer/kafkaApi/kafkaApi.go#L106
pass []any as any to func append func([]interface{}, ...interface{}) []interface{} (asasalint)
lint: pkg/utils/downloadResource.go#L92
response body must be closed (bodyclose)
lint: pkg/utils/downloadResource.go#L265
response body must be closed (bodyclose)
lint: pkg/utils/downloadResource.go#L254
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
lint: pkg/dia/ApiClient.go#L31
exported fields should be annotated with the "json" tag (musttag)
lint: pkg/dia/ApiClient.go#L62
exported fields should be annotated with the "json" tag (musttag)
lint: pkg/dia/ApiClient.go#L25
exported fields should be annotated with the "json" tag (musttag)
lint: pkg/dia/Messages.go#L532
exported fields should be annotated with the "json" tag (musttag)
lint: pkg/dia/Messages.go#L527
exported fields should be annotated with the "json" tag (musttag)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/