Fix one more incorrect metadata structure

This commit is contained in:
murgatroid99 2019-03-25 14:09:25 -07:00
parent d4e1672071
commit 836515f87e
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ Server.prototype.start = function() {
batch[grpc.opType.SEND_STATUS_FROM_SERVER] = {
code: constants.status.UNIMPLEMENTED,
details: 'RPC method not implemented ' + method,
metadata: {}
metadata: (new Metadata())._getCoreRepresentation()
};
batch[grpc.opType.RECV_CLOSE_ON_SERVER] = true;
call.startBatch(batch, function() {});