Skip to content

Commit

Permalink
fix: detecting url should use debug param (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Sep 7, 2024
1 parent 985d97b commit 1974482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/general/general_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (m *GeneralServer) DetectURL(req *api.DetectURLRequest, stream api.General_
urls := make([]string, 0, 5)
urls = append(urls, req.Url)
for _, mt := range mts {
url, err := metrics.MetricsURL(false, mt, req.Url, 1)
url, err := metrics.MetricsURL(true, mt, req.Url, 1)
if err != nil {
logging.Sugar.Error(err)
panic(err)
Expand Down

0 comments on commit 1974482

Please sign in to comment.