Skip to content

Typo in the Readme #7

Description

@abduegal

There is a typo in the readme in the configuration section:

var Consul = require('consul-node');

var consul = new Consul({
  host: 'localhost',
  port: 8300,
});

should be:

var Consul = require('consul-node');

var consul = new Consul({
  hostname: 'localhost',
  port: 8300,
});

host should be hostname, so it can overwrite the default hostname in consul.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions