Revert "removed redundant ocis config parsing"

This reverts commit c700ccab1f.
This commit is contained in:
A.Unger
2021-11-22 22:27:29 +01:00
parent c700ccab1f
commit 8797cf3b5a
12 changed files with 58 additions and 1 deletions
+4
View File
@@ -17,6 +17,10 @@ func OCSCommand(cfg *config.Config) *cli.Command {
Usage: "Start ocs server",
Category: "Extensions",
Before: func(ctx *cli.Context) error {
if err := ParseConfig(ctx, cfg); err != nil {
return err
}
if cfg.Commons != nil {
cfg.OCS.Commons = cfg.Commons
}