Skip to content

Commit

Permalink
version 4.2.1
Browse files Browse the repository at this point in the history
修复一个 iprange 空时没有正常开启监控的bug
  • Loading branch information
freedomkk-qfeng committed Jul 6, 2020
1 parent 50ff8de commit a671dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion funcs/swifstat.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func AllSwitchIp() (allIp []string) {
}

func SwIfMetrics() (L []*model.MetricValue) {
if g.Config().Switch.Enabled && len(g.Config().Switch.IpRange) > 0 {
if g.Config().Switch.Enabled {
return swIfMetrics()
}
return
Expand Down
2 changes: 1 addition & 1 deletion g/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ import (
// 4.1.1 n9e mode support debug
// 4.2.0 support get allip from ecmc nodes
const (
VERSION = "4.2.0"
VERSION = "4.2.1"
COLLECT_INTERVAL = time.Second
)

0 comments on commit a671dcb

Please sign in to comment.