Skip to content

Commit

Permalink
Release 1.0.4
Browse files Browse the repository at this point in the history
- Replaced `getDefaultHost` function with `defaultHost` property
- Replaced `getDefaultPort` function with `defaultPort` property
  • Loading branch information
Byron.Dupreez committed Mar 22, 2018
1 parent bb92630 commit 82b6f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rcc-ioredis-adapter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const test = require('tape');
// Get the redis adapter
const redis = require('../rcc-ioredis-adapter');

const host0 = redis.getDefaultHost();
const port0 = redis.getDefaultPort();
const host0 = redis.defaultHost;
const port0 = redis.defaultPort;

const host1 = '127.0.0.1';
const port1 = 9999;
Expand Down

0 comments on commit 82b6f47

Please sign in to comment.