Code cleanup

This commit is contained in:
tidwall 2018-11-05 15:24:45 -07:00
parent 0cd6d164d6
commit 6a6f4b67c6
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ var (
)
// TODO: Set to false in 2.*
var httpTransport bool = true
var httpTransport = true
// Fire up a webhook test server by using the --webhook-http-consumer-port
// for example
@ -47,7 +47,7 @@ var httpTransport bool = true
type hserver struct{}
func (s *hserver) Send(ctx context.Context, in *hservice.MessageRequest) (*hservice.MessageReply, error) {
return &hservice.MessageReply{true}, nil
return &hservice.MessageReply{Ok: true}, nil
}
func main() {