add badger init profile

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy 2017-09-04 12:33:15 -07:00
parent c310e3d96c
commit 00040083c8

View File

@ -41,4 +41,11 @@ var ConfigProfiles = map[string]func(*Config) error{
c.Discovery.MDNS.Enabled = false
return nil
},
"badgerds": func(c *Config) error {
c.Datastore.Spec = map[string]interface{}{
"type": "badgerds",
"path": "badgerds",
}
return nil
},
}