这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix some lll warnings. #10

Fix some lll warnings.

Fix some lll warnings. #10

Triggered via push October 12, 2025 00:07
Status Failure
Total duration 2m 26s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run on Ubuntu: controllers/fluentbit_controller.go#L49
The line is 156 characters long, which exceeds the maximum of 120 characters. (lll)
Run on Ubuntu: controllers/collector_controller.go#L45
The line is 167 characters long, which exceeds the maximum of 120 characters. (lll)
Run on Ubuntu: cmd/fluent-watcher/fluentbit/main.go#L75
The line is 126 characters long, which exceeds the maximum of 120 characters. (lll)
Run on Ubuntu: cmd/fluent-watcher/fluentbit/main.go#L71
The line is 130 characters long, which exceeds the maximum of 120 characters. (lll)
Run on Ubuntu: cmd/fluent-manager/main.go#L84
The line is 132 characters long, which exceeds the maximum of 120 characters. (lll)
Run on Ubuntu: apis/fluentd/v1alpha1/plugins/output/types.go#L829
cyclomatic complexity 79 of func `(*Output).cloudWatchPlugin` is high (> 30) (gocyclo)
Run on Ubuntu: apis/fluentd/v1alpha1/plugins/output/types.go#L404
cyclomatic complexity 35 of func `(*Output).elasticsearchPluginCommon` is high (> 30) (gocyclo)
Run on Ubuntu: apis/fluentd/v1alpha1/plugins/output/types.go#L191
cyclomatic complexity 32 of func `(*Output).forwardPlugin` is high (> 30) (gocyclo)
Run on Ubuntu: apis/fluentd/v1alpha1/plugins/filter/types.go#L94
cyclomatic complexity 33 of func `(*Filter).grepPlugin` is high (> 30) (gocyclo)
Run on Ubuntu: apis/fluentd/v1alpha1/plugins/common/buffer_types.go#L156
cyclomatic complexity 44 of func `(*Buffer).Params` is high (> 30) (gocyclo)