Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Sep 28, 2024
1 parent 7508f3a commit b423935
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ linters:
- ireturn # "accept interfaces, return structs" isn't ironclad
- lll # don't want hard limits for line length
- maintidx # covered by gocyclo
- nilnil # allow this
- nlreturn # generous whitespace violates house style
- testifylint # does not want us to use assert
- testpackage # internal tests are fine
Expand Down Expand Up @@ -65,12 +66,6 @@ issues:
- gocritic
path: check/location.go
text: "commentFormatting"
- linters:
- nilnil
path: check/rule.go
- linters:
- nilnil
path: check/response_writer.go
- linters:
- unparam
path: check/category_spec.go
Expand All @@ -80,9 +75,6 @@ issues:
- linters:
- unparam
path: check/response.go
- linters:
- nilnil
path: check/checktest/checktest.go
- linters:
- varnamelen
path: check/internal/example
Expand Down
3 changes: 1 addition & 2 deletions check/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package check

import (
"buf.build/go/bufplugin/info"
"buf.build/go/bufplugin/internal/gen/buf/plugin/check/v1/v1pluginrpc"
checkv1pluginrpc "buf.build/go/bufplugin/internal/gen/buf/plugin/check/v1/v1pluginrpc"
infov1pluginrpc "buf.build/go/bufplugin/internal/gen/buf/plugin/info/v1/v1pluginrpc"
"pluginrpc.com/pluginrpc"
Expand Down Expand Up @@ -71,7 +70,7 @@ func NewServer(spec *Spec, options ...ServerOption) (pluginrpc.Server, error) {

serverRegistrar := pluginrpc.NewServerRegistrar()
handler := pluginrpc.NewHandler(pluginrpcSpec)
checkServiceServer := v1pluginrpc.NewCheckServiceServer(handler, checkServiceHandler)
checkServiceServer := checkv1pluginrpc.NewCheckServiceServer(handler, checkServiceHandler)
checkv1pluginrpc.RegisterCheckServiceServer(serverRegistrar, checkServiceServer)
if pluginInfoServiceHandler != nil {
pluginInfoServiceServer := infov1pluginrpc.NewPluginInfoServiceServer(handler, pluginInfoServiceHandler)
Expand Down

0 comments on commit b423935

Please sign in to comment.