-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when unpacking into config.Namespace, namespaces can be disabled via `enabled: false` now. For settings allowing exactly one configuration, this can be used by users to enabled/disable namespace without having to comment them out in the configuration file. example usage: ``` type Config struct { Output common.ConfigNamespace } ``` user can have at most one enabled: ``` output.namespace1: enabled: false output.namespace2: enabled: true ```
- Loading branch information
urso
committed
Jun 19, 2017
1 parent
76a9b87
commit 6167cc8
Showing
1 changed file
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters