From 6b3737d4a7db49a6dc043bed11d915b1bb485dab Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 19 Aug 2015 15:02:15 -0700 Subject: Fixed tests --- src/node/interop/interop_server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node/interop') diff --git a/src/node/interop/interop_server.js b/src/node/interop/interop_server.js index 09d594d150..99155e9958 100644 --- a/src/node/interop/interop_server.js +++ b/src/node/interop/interop_server.js @@ -169,8 +169,8 @@ function getServer(port, tls) { var key_data = fs.readFileSync(key_path); var pem_data = fs.readFileSync(pem_path); server_creds = grpc.ServerCredentials.createSsl(null, - {private_key: key_data, - cert_chain: pem_data}); + [{private_key: key_data, + cert_chain: pem_data}]); } else { server_creds = grpc.ServerCredentials.createInsecure(); } -- cgit v1.2.3