mirror of https://github.com/grpc/grpc-node.git
Fixed typo
This commit is contained in:
parent
bc7ff9ffe6
commit
4a8b214c54
|
@ -73,6 +73,7 @@ function GrpcServerStream(call, options) {
|
||||||
* @param {Error} err The error object
|
* @param {Error} err The error object
|
||||||
*/
|
*/
|
||||||
function setStatus(err) {
|
function setStatus(err) {
|
||||||
|
console.log('Server setting status to', err);
|
||||||
var code = grpc.status.INTERNAL;
|
var code = grpc.status.INTERNAL;
|
||||||
var details = 'Unknown Error';
|
var details = 'Unknown Error';
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ var MathClient = makeConstructor({
|
||||||
client_stream: true,
|
client_stream: true,
|
||||||
server_stream: true
|
server_stream: true
|
||||||
}
|
}
|
||||||
}, '/Math');
|
}, '/Math/');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Channel to use to make requests to a running server.
|
* Channel to use to make requests to a running server.
|
||||||
|
|
Loading…
Reference in New Issue