chore: remove unused return value from BindSourcesToStructs (#9033)
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
// ParseConfig loads configuration from known paths.
|
||||
func ParseConfig(cfg *config.Config) error {
|
||||
_, err := ociscfg.BindSourcesToStructs(cfg.Service.Name, cfg)
|
||||
err := ociscfg.BindSourcesToStructs(cfg.Service.Name, cfg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -29,7 +29,7 @@ func ParseConfig(cfg *config.Config) error {
|
||||
}
|
||||
|
||||
// apps are a special case, as they are not part of the main config, but are loaded from a separate config file
|
||||
_, err = ociscfg.BindSourcesToStructs("apps", &cfg.Apps)
|
||||
err = ociscfg.BindSourcesToStructs("apps", &cfg.Apps)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user