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,8 +72,9 @@ func NewConfigstore(ctx context.Context, c *config.Configstore) (*Configstore, e
} }
dmConf := &datamanager.DataManagerConfig{ dmConf := &datamanager.DataManagerConfig{
E: e, BasePath: "configdata",
OST: ost, E: e,
OST: ost,
DataTypes: []string{ DataTypes: []string{
string(types.ConfigTypeUser), string(types.ConfigTypeUser),
string(types.ConfigTypeOrg), string(types.ConfigTypeOrg),