Skip to content

Commit

Permalink
fix routeMap
Browse files Browse the repository at this point in the history
  • Loading branch information
fuwx295 committed Oct 16, 2024
1 parent e14cd77 commit 27b8554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/services/log/service_get_log_parse_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var routeReg = regexp.MustCompile(`\"(.*?)\"`)

func getRouteRuleMap(routeRule string) map[string]string {
res := make(map[string]string)
lines := strings.Split(routeRule, "\n")
lines := strings.Split(routeRule, "&&")
for _, line := range lines {
if line == "" {
continue
Expand Down

0 comments on commit 27b8554

Please sign in to comment.