Skip to content

Invalid configuration regardless of config file used #11

@saidimu

Description

@saidimu

The latest version of discover from npm always gives the following error even when using the example config file at https://github.com/totem/discover/blob/develop/config/defaults.json

Error: Invalid configuration, you must provide valid `host` and `etcd` configuration blocks

The config file I'm using is:

{
  "etcd": {
    "port": 4001,
    "host": "localhost",
    "prefix": "discover/"
  },
  "host": {
    "ip": "localhost",
    "realm": "testing"
  },
  "log": "~/.docker-discover/discover.log"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions