removed redundant ocis config parsing

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