Skip to content

Commit

Permalink
fix(protoc-gen-go-http): return nil if err == nil。 (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvii authored Feb 14, 2024
1 parent c7fa51d commit 9106991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/protoc-gen-go-http/httpTemplate.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ func (c *{{$svrType}}HTTPClientImpl) {{.Name}}(ctx context.Context, in *{{.Reque
if err != nil {
return nil, err
}
return &out, err
return &out, nil
}
{{end}}

0 comments on commit 9106991

Please sign in to comment.