comment update for gflock
@@ -269,7 +269,7 @@ func (c *Config) getJson(file...string) *gjson.Json {
// Add monitor for this configuration file,
// any changes of this file will refresh its cache in Config object.
if filePath != "" {
- gfsnotify.Add(filePath, func(event *gfsnotify.Event) {
+ _, _ = gfsnotify.Add(filePath, func(event *gfsnotify.Event) {
c.jsons.Remove(name)
})
}
