refactor!: change base data and config dir path
BREAKING CHANGE: `.ocis` dir isn't valid anymore, use init again.
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
"github.com/opencloud-eu/opencloud/pkg/structs"
|
||||
)
|
||||
|
||||
// ParseConfig loads the ocis configuration and
|
||||
// ParseConfig loads the opencloud configuration and
|
||||
// copies applicable parts into the commons part, from
|
||||
// where the services can copy it into their own config
|
||||
func ParseConfig(cfg *config.Config, skipValidate bool) error {
|
||||
err := config.BindSourcesToStructs("ocis", cfg)
|
||||
err := config.BindSourcesToStructs("opencloud", cfg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user