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

View File

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