normalize idp

This commit is contained in:
A.Unger
2021-11-08 12:17:23 +01:00
parent 22601de351
commit a515a97c8f
10 changed files with 58 additions and 224 deletions
+2 -5
View File
@@ -76,11 +76,8 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
// load all env variables relevant to the config in the current context.
conf.LoadOSEnv(config.GetEnv(), false)
if err = cfg.UnmapEnv(conf); err != nil {
return err
}
return nil
bindings := config.StructMappings(cfg)
return ociscfg.BindEnv(conf, bindings)
}
// SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.