Skip to content

Commit

Permalink
Merge pull request #1 from sparkida/integration-0.4.0
Browse files Browse the repository at this point in the history
integration 0.4.0
  • Loading branch information
sparkida committed Nov 28, 2017
2 parents e994da1 + 99868a7 commit a49fd26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-cassandra",
"version": "0.3.10",
"version": "0.4.0",
"description": "Cassandra ORM for NodeJS.",
"homepage": "http://vertebrae-org.github.io/node-cassandra",
"main": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const keyspaceConfig = {
durableWrites: true
};
const config = {
contactPoints: ['127.0.0.1'],
protocolOptions: {port: 9042},
contactPoints: [process.env.CASSANDRA_HOST || '127.0.0.1'],
protocolOptions: {port: process.env.CASSANDRA_PORT || 9042},
keyspace: {}
};

Expand Down

0 comments on commit a49fd26

Please sign in to comment.