fix endpoint extractor panic

This commit is contained in:
Asim Aslam 2019-11-11 17:37:48 +00:00 committed by Vasiliy Tolstov
parent 592f1fb218
commit f34326e4d7

View File

@ -94,6 +94,7 @@ func extractEndpoint(method reflect.Method) *registry.Endpoint {
Name: method.Name,
Request: request,
Response: response,
Metadata: make(map[string]string),
}
if stream {