refactor!: change base data and config dir path

BREAKING CHANGE: `.ocis` dir isn't valid anymore, use init again.
This commit is contained in:
Florian Schade
2025-01-15 15:07:57 +01:00
parent 2f3c7e3022
commit 4a45d7fca8
10 changed files with 952 additions and 13 deletions
+2 -2
View File
@@ -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
}