From 34e78455b06884d431ed753fbbf47c0b19889f8c Mon Sep 17 00:00:00 2001 From: abduegal Date: Wed, 4 Mar 2015 00:09:46 +0100 Subject: [PATCH] Fixed issue #7 Error in the readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a32d443..83b9245 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ $ npm install consul-node The following options can be passed to the `Consul` constructor. - - `host` -- The consul agent's host (defaults to `localhost`). + - `hostname` -- The consul agent's hostname (defaults to `localhost`). - `port` -- The consul agent's port (defaults to `8500`). - `secure` -- Use https when talking to the agent (defaults to `false`). - `strict` -- Treat HTTP 404's as errors (defaults to `false`). @@ -28,7 +28,7 @@ The following options can be passed to the `Consul` constructor. var Consul = require('consul-node'); var consul = new Consul({ - host: 'localhost', + hostname: 'localhost', port: 8300, }); ```