Skip to content

--config - using any configuration other than "production" causes a config error, however, this error is not clear #186

@rob256

Description

@rob256

The config parses fine when production is used. As per:

production:
    host: some.mongo.host
    port: 27018
    backup:
        method: mongodump
        name: dump1
        location: /tmp/backup

However, using the following configuration causes the following:

development:
    host: some.mongo.host
    port: 27018
    backup:
        method: mongodump
        name: dump1
        location: /tmp/backup
Error setting up configuration: 'Field "backup.name" must be set via command-line or config file!'!

This error is very unclear.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions