normalize ocs

This commit is contained in:
A.Unger
2021-11-08 12:19:26 +01:00
parent a515a97c8f
commit e297142529
4 changed files with 16 additions and 78 deletions
+1 -5
View File
@@ -26,11 +26,7 @@ func Server(cfg *config.Config) *cli.Command {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
if err := ParseConfig(ctx, cfg); err != nil {
return err
}
return nil
return ParseConfig(ctx, cfg)
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)