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

Fix dupl warning in helper_test.go #9

Fix dupl warning in helper_test.go

Fix dupl warning in helper_test.go #9

Triggered via push October 9, 2025 14:35
Status Failure
Total duration 4m 37s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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: cmd/doc-gen/main.go#L22
The line is 142 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)