normalize graph-explorer

This commit is contained in:
A.Unger
2021-11-08 12:08:35 +01:00
parent 4c9e4713cf
commit 22601de351
6 changed files with 16 additions and 60 deletions
-5
View File
@@ -64,14 +64,9 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
if err != nil {
return err
}
// load all env variables relevant to the config in the current context.
conf.LoadOSEnv(config.GetEnv(), false)
bindings := config.StructMappings(cfg)
return ociscfg.BindEnv(conf, bindings)
return nil
}
// SutureService allows for the graph command to be embedded and supervised by a suture supervisor tree.