configstore: set base path for datamanager

Don't put datamanager base dirs inside the root of the ost but use a base path.

Let's do it now before releasing since this is a breaking change that requires
moving the ost data to the new path
This commit is contained in:
Simone Gotti 2019-07-03 17:19:40 +02:00
parent 5db23410d0
commit ea025638ff
1 changed files with 3 additions and 2 deletions

View File

@ -72,6 +72,7 @@ func NewConfigstore(ctx context.Context, c *config.Configstore) (*Configstore, e
}
dmConf := &datamanager.DataManagerConfig{
BasePath: "configdata",
E: e,
OST: ost,
DataTypes: []string{