fix configuration validation for extensions' server commands
This commit is contained in:
@@ -18,7 +18,7 @@ func AuthMachineCommand(cfg *config.Config) *cli.Command {
|
||||
Usage: helper.SubcommandDescription(cfg.AuthMachine.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.AuthMachine.Commons = cfg.Commons
|
||||
|
||||
Reference in New Issue
Block a user