|
|
@ -1119,9 +1119,7 @@ func main() {
|
|
|
|
currentChecksum, err := config.GenerateChecksum(cfg.configFile)
|
|
|
|
currentChecksum, err := config.GenerateChecksum(cfg.configFile)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
level.Error(logger).Log("msg", "Failed to generate checksum during configuration reload", "err", err)
|
|
|
|
level.Error(logger).Log("msg", "Failed to generate checksum during configuration reload", "err", err)
|
|
|
|
continue
|
|
|
|
} else if currentChecksum == checksum {
|
|
|
|
}
|
|
|
|
|
|
|
|
if currentChecksum == checksum {
|
|
|
|
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
level.Info(logger).Log("msg", "Configuration file change detected, reloading the configuration.")
|
|
|
|
level.Info(logger).Log("msg", "Configuration file change detected, reloading the configuration.")
|
|
|
|