Skip to content

[fix] no log print when panic #3179

[fix] no log print when panic

[fix] no log print when panic #3179

Triggered via pull request May 6, 2023 15:31
Status Failure
Total duration 5m 56s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
lint: syncer/service/replicator/resource/instance.go#L60
field `defaultFailHandler` is unused (unused)
lint
issues found
lint
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
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: pkg/metrics/calculator.go#L72
var-declaration: should drop = 0 from declaration of var count; it is the zero value (revive)
lint: pkg/metrics/calculator.go#L73
var-declaration: should drop = 0 from declaration of var sum; it is the zero value (revive)
lint: pkg/metrics/calculator.go#L90
var-declaration: should drop = 0 from declaration of var count; it is the zero value (revive)
lint: pkg/metrics/calculator.go#L91
var-declaration: should drop = 0 from declaration of var sum; it is the zero value (revive)