Skip to content

Support CORS in APIServer & handler ErrServerClosed #1921

Support CORS in APIServer & handler ErrServerClosed

Support CORS in APIServer & handler ErrServerClosed #1921

Triggered via pull request October 9, 2023 08:21
Status Success
Total duration 1m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

code.analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
analysis
The `set-output` 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/
analysis
Restore cache failed: Dependencies file is not found in /home/runner/work/easegress/easegress. Supported file pattern: go.sum
analysis: build/test/server.go#L37
parameter 't' seems to be unused, consider removing or renaming it as _
analysis: pkg/object/etcdserviceregistry/etcdserviceregistry.go#L367
parameter 'timeout' seems to be unused, consider removing or renaming it as _
analysis: cmd/client/commandv2/describe.go#L83
parameter 'cmd' seems to be unused, consider removing or renaming it as _
analysis: cmd/client/commandv2/edit.go#L78
parameter 'cmd' seems to be unused, consider removing or renaming it as _
analysis: cmd/client/commandv2/get.go#L122
parameter 'cmd' seems to be unused, consider removing or renaming it as _
analysis: cmd/client/general/request.go#L126
exported function HandleReqWithStreamResp should have comment or be unexported
analysis: cmd/client/general/visitor.go#L76
exported method Spec.Doc should have comment or be unexported
analysis: cmd/client/general/visitor.go#L147
exported function GetSpecFromYaml should have comment or be unexported
analysis: pkg/cluster/customdata/customdata.go#L168
comment on exported method Store.DeleteAllKinds should be of the form "DeleteAllKinds ..."
analysis: pkg/filters/headerlookup/headerlookup.go#L159
parameter 'previousGeneration' seems to be unused, consider removing or renaming it as _