chore(deps): Update Go to 1.22 and update all Go dependencies (#794)

* fix: Print the right variable when logging used config path on start

* chore(deps): Update Go to 1.22 and update all Go dependencies
This commit is contained in:
TwiN
2024-06-08 12:39:26 -04:00
committed by GitHub
parent 714dd4ba09
commit 11aeec45c9
5 changed files with 174 additions and 161 deletions

View File

@ -188,7 +188,7 @@ func LoadConfiguration(configPath string) (*Config, error) {
return nil, fmt.Errorf("error reading configuration from directory %s: %w", usedConfigPath, err)
}
} else {
log.Printf("[config.LoadConfiguration] Reading configuration from configFile=%s", configPath)
log.Printf("[config.LoadConfiguration] Reading configuration from configFile=%s", usedConfigPath)
if data, err := os.ReadFile(usedConfigPath); err != nil {
return nil, err
} else {