mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 04:20:59 -05:00
fix configuration validation for extensions' server commands
This commit is contained in:
@@ -18,7 +18,7 @@ func SettingsCommand(cfg *config.Config) *cli.Command {
|
||||
Usage: helper.SubcommandDescription(cfg.Settings.Service.Name),
|
||||
Category: "extensions",
|
||||
Before: func(c *cli.Context) error {
|
||||
if err := parser.ParseConfig(cfg); err != nil {
|
||||
if err := parser.ParseConfig(cfg, true); err != nil {
|
||||
fmt.Printf("%v", err)
|
||||
}
|
||||
cfg.Settings.Commons = cfg.Commons
|
||||
|
||||
Reference in New Issue
Block a user