Skip to content

fix panic when k8s_event.GetEventRecorder() is nil #3969

fix panic when k8s_event.GetEventRecorder() is nil

fix panic when k8s_event.GetEventRecorder() is nil #3969

Triggered via pull request December 15, 2023 01:40
Status Failure
Total duration 4m 38s
Artifacts

static-check.yaml

on: pull_request
Matrix: CI
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
CI (1.19, ubuntu): helper/envconfig/aliyunlog_operation_wrapper.go#L209
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
CI (1.19, ubuntu): helper/envconfig/aliyunlog_operation_wrapper.go#L339
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
CI (1.19, ubuntu)
Process completed with exit code 2.
CI (1.19, ubuntu)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/