make backend debug top level arg
This commit is contained in:
parent
84b497e923
commit
a23dcef5d5
1 changed files with 7 additions and 0 deletions
|
@ -99,6 +99,13 @@ func NewBackendPlugin(outputConfig map[string]string) (*BackendManager, error) {
|
|||
// Add the interface and Init()
|
||||
newPlugin.funcs = bInterface
|
||||
// Merge backend config from main config file
|
||||
// Merge backend config from main config file
|
||||
if v, ok := outputConfig["debug"]; ok {
|
||||
newPlugin.Config["debug"] = v
|
||||
} else {
|
||||
newPlugin.Config["debug"] = "false"
|
||||
}
|
||||
|
||||
if v, ok := outputConfig["max_records"]; ok {
|
||||
newPlugin.Config["max_records"] = v
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue