Skip to content

Commit a3ab90f

Browse files
authored
Update http_middleware.go
1 parent d9fdde9 commit a3ab90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/metrics/http_middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// HttpApiMetrics is an interface that defines the methods that can be used to collect metrics.
1111
//
12-
//go:generate mockgen -destination=./mock/http_middleware.go github.com/stackitcloud/external-dns-stackit-webhook HttpApiMetrics
12+
//go:generate mockgen -destination=./mock/http_middleware.go -source=./http_middleware.go HttpApiMetrics
1313
type HttpApiMetrics interface {
1414
// CollectTotalRequests increment the total requests for the api
1515
CollectTotalRequests()

0 commit comments

Comments
 (0)