Skip to content

Implement CPLB userspace reverse proxy LB #4

Implement CPLB userspace reverse proxy LB

Implement CPLB userspace reverse proxy LB #4

Triggered via push November 20, 2024 19:13
Status Failure
Total duration 2m 12s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Lint: inttest/cplb-userspace/cplbuserspace_test.go#L121
File is not `gofmt`-ed with `-s` (gofmt)
Lint: pkg/component/controller/cplb/cplb_linux.go#L467
Duplicate words (interface) found (dupword)
Lint: pkg/component/controller/cplb/cplb_linux.go#L261
for loop can be changed to use an integer range (Go 1.22+) (intrange)
Lint: inttest/cplb-userspace/cplbuserspace_test.go#L122
host:port in url should be constructed with net.JoinHostPort and not directly with fmt.Sprintf (nosprintfhostport)
Lint: inttest/cplb-userspace/cplbuserspace_test.go#L194
fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: inttest/cplb-userspace/cplbuserspace_test.go#L199
fmt.Errorf can be replaced with errors.New (perfsprint)
Lint: inttest/cplb-userspace/cplbuserspace_test.go#L127
len: use s.Require().Len (testifylint)
Lint
Process completed with exit code 2.