mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-27 22:41:10 -05:00
switch graph to struct tag based env config
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
788a390016
commit
288d6c469e
@@ -51,7 +51,7 @@ func Execute(cfg *config.Config) error {
|
||||
|
||||
// ParseConfig loads glauth configuration from known paths.
|
||||
func ParseConfig(c *cli.Context, cfg *config.Config) error {
|
||||
_, err := ociscfg.BindSourcesToStructs("accounts", cfg)
|
||||
_, err := ociscfg.BindSourcesToStructs(cfg.Service.Name, cfg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user