mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 15:33:17 +01:00
fix(#400): Use proper configuration path when iterating over options
This commit is contained in:
parent
6bdd3c94fe
commit
78dccc90e1
@ -146,7 +146,7 @@ func LoadConfiguration(configPath string) (*Config, error) {
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
usedConfigPath = configPath
|
||||
usedConfigPath = configurationPath
|
||||
break
|
||||
}
|
||||
if len(usedConfigPath) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user