Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple configuration files with the --config flag #199

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

mullerch
Copy link
Contributor

This allows to start the Gateway Bridge with multiple --config arguments (or -c) to provide multiple configuration files.
The files are concatenated and then parsed as before.
The set of files must be consistent (e.g. each toml section only once between the files)

The concentratord has a similar behavior.

@brocaar brocaar merged commit 38655ae into chirpstack:master Jan 11, 2023
brocaar added a commit that referenced this pull request Jan 30, 2023
This regression was introduced by #199. cfgFiles does point to a slice,
but it was not checked if the slice was empty or not. Therefore, no
configuration file was read if the -c parameter was not used.

Closes chirpstack/chirpstack-docker#74 and
chirpstack/chirpstack-docker#75.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants