prober plugin use `all` mode as default (#634)
This commit is contained in:
parent
384e993ca1
commit
92ac8b09c0
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
var (
|
||||
pluginConfigs map[string]*PluginConfig
|
||||
defaultPluginConfigContent = []byte("mode: whitelist # whitelist(default),all")
|
||||
defaultPluginConfigContent = []byte("mode: all # whitelist,all(default)")
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -52,7 +52,7 @@ func (p *pluginConfig) Validate() error {
|
|||
case "all":
|
||||
p.mode = PluginModeAll
|
||||
default:
|
||||
p.mode = PluginModeWhitelist
|
||||
p.mode = PluginModeAll
|
||||
}
|
||||
|
||||
for k, v := range p.Metrics {
|
||||
|
|
Loading…
Reference in New Issue