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
@@ -20,10 +20,6 @@ func SettingsCommand(cfg *config.Config) *cli.Command {
command.PrintVersion(cfg.Settings),
},
Before: func(ctx *cli.Context) error {
if err := ParseConfig(ctx, cfg); err != nil {
return err
}
if cfg.Commons != nil {
cfg.Settings.Commons = cfg.Commons
}