runservice: 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:18:21 +02:00
parent d989fe9639
commit 5db23410d0
1 changed files with 3 additions and 2 deletions

View File

@ -97,8 +97,9 @@ func NewRunservice(ctx context.Context, c *config.Runservice) (*Runservice, erro
}
dmConf := &datamanager.DataManagerConfig{
E: e,
OST: ost,
BasePath: "rundata",
E: e,
OST: ost,
DataTypes: []string{
string(common.DataTypeRun),
string(common.DataTypeRunConfig),