diff options
author | murgatroid99 <mlumish@google.com> | 2015-08-19 15:02:15 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-08-19 15:02:15 -0700 |
commit | 6b3737d4a7db49a6dc043bed11d915b1bb485dab (patch) | |
tree | 490088c2dc9d94689c68f0a1c2aa203d1284c8be /src/node/interop | |
parent | fe0afc2084be554309ad96b1389a252916baec87 (diff) |
Fixed tests
Diffstat (limited to 'src/node/interop')
-rw-r--r-- | src/node/interop/interop_server.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |