1
0
mirror of https://github.com/TwiN/gatus.git synced 2026-02-16 14:23:40 +00:00

fix(#400): Use proper configuration path when iterating over options

This commit is contained in:
TwiN
2023-01-10 00:24:56 -05:00
parent 6bdd3c94fe
commit 78dccc90e1

View File

@@ -146,7 +146,7 @@ func LoadConfiguration(configPath string) (*Config, error) {
if err != nil { if err != nil {
continue continue
} }
usedConfigPath = configPath usedConfigPath = configurationPath
break break
} }
if len(usedConfigPath) == 0 { if len(usedConfigPath) == 0 {