Commit a9ddbfc4 authored by jingbo.wang's avatar jingbo.wang

过滤path为空字符串的场景

parent 1736b6f3
......@@ -61,6 +61,9 @@ func NewService(name string, startTime time.Time, endTime time.Time) *Service {
if _, ok := IgnorePathMap[strings.ToLower(pathSplit[1])]; ok {
continue
}
if path == "" {
continue
}
glog.Info("init path: ", rtn.name, " ", path)
pathObj, ok := NewPath(rtn.name, path, rtn.startTime, rtn.endTime)
if !ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment