chore: remove unused return value from BindSourcesToStructs (#9033)

This commit is contained in:
Thomas Müller
2024-04-30 18:18:31 +02:00
committed by GitHub
parent 4f7480d322
commit a8cbc612cc
44 changed files with 53 additions and 54 deletions
+2 -2
View File
@@ -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
}