add mapstructure to ocs

This commit is contained in:
A.Unger
2021-11-05 15:16:03 +01:00
parent b94c0e683f
commit a55a0395eb
2 changed files with 37 additions and 39 deletions
-2
View File
@@ -29,8 +29,6 @@ func Server(cfg *config.Config) *cli.Command {
cfg.Repo.Backend = strings.ToLower(cfg.Repo.Backend)
// When running on single binary mode the before hook from the root command won't get called. We manually
// call this before hook from ocis command, so the configuration can be loaded.
if err := ParseConfig(ctx, cfg); err != nil {
return err
}