We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 217702a commit 231c8adCopy full SHA for 231c8ad
Makefile
@@ -54,7 +54,7 @@ out/report.json:
54
go test -race ./... -coverprofile=out/cover.out --json | tee "$(@)"
55
56
run:
57
- go run cmd/webhook
+ go run cmd/webhook/main.go
58
59
.PHONY: clean
60
clean:
pkg/api/metrics.go
@@ -26,7 +26,7 @@ func NewMetricsMiddleware(collector metrics_collector.HttpApiMetrics) fiber.Hand
26
}
27
28
method := strings.Clone(c.Method())
29
- path := c.Path()
+ path := strings.Clone(c.Path())
30
status := c.Response().StatusCode()
31
32
collector.CollectRequest(method, path, status)
0 commit comments