Skip to content

add test for syncer #2880

add test for syncer

add test for syncer #2880

Triggered via push December 5, 2024 09:09
Status Failure
Total duration 3m 52s
Artifacts

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
statics: pkg/mock/mockserver/mockserver.go#L26
exported: exported type MockServer should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L33
exported: exported function NewMockServer should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L43
exported: exported method MockServer.LoopContext should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L47
exported: exported method MockServer.ClusterID should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L51
exported: exported method MockServer.GetMemberInfo should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L55
exported: exported method MockServer.GetLeader should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L59
exported: exported method MockServer.GetStorage should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L63
exported: exported method MockServer.Name should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L67
exported: exported method MockServer.GetRegions should have comment or be unexported (revive)
statics: pkg/mock/mockserver/mockserver.go#L71
exported: exported method MockServer.GetTLSConfig should have comment or be unexported (revive)
statics
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636