diff --git a/cmd/agent/main.go b/cmd/agent/main.go index 6cc350d..37e7c29 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -857,6 +857,7 @@ func handleApplyConfigTask(task *pb.Task, result *pb.TaskResult) { println("Applying new configuration...") agentConfig.Apply(&tmpConfig) agentConfig.Save() + geoipReported = false logger.SetEnable(agentConfig.Debug) monitor.InitConfig(&agentConfig) monitor.CustomEndpoints = agentConfig.CustomIPApi