Skip to content

Add grpc proxy backend #511

Add grpc proxy backend

Add grpc proxy backend #511

Triggered via pull request August 2, 2023 20:09
Status Failure
Total duration 27s
Artifacts

golangci-lint.yml

on: pull_request
golangci-lint
15s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: cache/disk/disk.go#L1
: # github.com/buchgr/bazel-remote/v2/cache/disk [github.com/buchgr/bazel-remote/v2/cache/disk.test]
golangci-lint: cache/disk/disk_test.go#L182
cannot use new(proxyStub) (value of type *proxyStub) as cache.Proxy value in argument to WithProxyBackend: *proxyStub does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L114
cannot use &tp (value of type *testCWProxy) as cache.Proxy value in struct literal: *testCWProxy does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L207
cannot use proxy (variable of type *proxyAdapter) as cache.Proxy value in argument to WithProxyBackend: *proxyAdapter does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L270
cannot use proxy (variable of type *proxyAdapter) as cache.Proxy value in assignment: *proxyAdapter does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L329
cannot use proxy (variable of type *proxyAdapter) as cache.Proxy value in assignment: *proxyAdapter does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L403
cannot use proxy (variable of type *proxyAdapter) as cache.Proxy value in assignment: *proxyAdapter does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/disk/findmissing_test.go#L464
cannot use proxy (variable of type *proxyAdapter) as cache.Proxy value in argument to WithProxyBackend: *proxyAdapter does not implement cache.Proxy (wrong type for method Contains)
golangci-lint: cache/grpcproxy/grpcproxy_test.go#L30
field `port` is unused (unused)
golangci-lint: cache/grpcproxy/grpcproxy_test.go#L31
field `host` is unused (unused)