config: Improve the Provider matching to have a negated match #2140

This makes it easier to make classes of provider in the config.
This commit is contained in:
Nick Craig-Wood
2018-04-13 16:06:37 +01:00
parent acd5d4377e
commit 8c3740c2c5
3 changed files with 70 additions and 28 deletions

View File

@@ -22,6 +22,9 @@ var (
// This is a function pointer to decouple the config
// implementation from the fs
CountError = func(err error) {}
// ConfigProvider is the config key used for provider options
ConfigProvider = "provider"
)
// ConfigInfo is filesystem config options