Skip to content

Commit 134d357

Browse files
authored
Update signature for api prometheus dummy method for js (#193)
1 parent 1a6aafc commit 134d357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildmetrics/buildmetrics_js.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func getLabel(action string, label string) string {
2424
}
2525

2626
// ReportApiResult reports the duration for a specific API path and response code
27-
func ReportApiResult(path string, responseCode int, duration time.Duration) {
27+
func ReportApiResult(action, label, path, method string, responseCode int, duration time.Duration) {
2828
return
2929
}
3030

0 commit comments

Comments
 (0)