Closed
Description
Step to reproduce:
$ cat config/config.yaml
services:
- name: example
url: "https://example.org/"
interval: 30s
conditions:
- "[STATUS] == 200"
$ docker run \
--rm \
-p 8080:8080 \
-v "$(pwd)"/config/config.yaml:/config/config.yaml \
twinproduction/gatus
Change the name
field in the config/config.yaml
.
Observation:
In the HasLoadedConfigurationFileBeenModified
function, the result of the comparison of config.lastFileModTime.Unix() != fileInfo.ModTime().Unix()
is always false.