Skip to content

Commit

Permalink
doc: change text lead to misunderstand
Browse files Browse the repository at this point in the history
  • Loading branch information
DarcJC committed Feb 23, 2024
1 parent 4629223 commit 4994dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func main() {
flag.BoolVar(&agentCliParam.DisableForceUpdate, "disable-force-update", false, "禁用强制升级")
flag.BoolVar(&agentCliParam.TLS, "tls", false, "启用SSL/TLS加密")
flag.BoolVarP(&agentCliParam.Version, "version", "v", false, "查看当前版本号")
flag.Uint32VarP(&agentCliParam.IPReportPeriod, "ip-report-period", "u", 30*60, "IP上报间隔")
flag.Uint32VarP(&agentCliParam.IPReportPeriod, "ip-report-period", "u", 30*60, "本地IP更新间隔, 上报频率依旧取决于report-delay的值")
flag.Parse()

if agentCliParam.Version {
Expand Down
2 changes: 1 addition & 1 deletion pkg/monitor/myip.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var (
// UpdateIP 按设置时间间隔更新IP地址与国家码的缓存
func UpdateIP(period uint32) {
for {
log.Println("NEZHA_AGENT>> 正在上报IP信息")
log.Println("NEZHA_AGENT>> 正在更新本地缓存IP信息")
ipv4 := fetchGeoIP(geoIPApiList, false)
ipv6 := fetchGeoIP(geoIPApiList, true)
if ipv4.IP == "" && ipv6.IP == "" {
Expand Down

0 comments on commit 4994dcc

Please sign in to comment.