Skip to content

Commit

Permalink
Pass options when calling RegisterDefault (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptxmac authored Feb 18, 2024
1 parent 5cd7e6a commit 0141254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const (
//
// RegisterDefault should not be used in production.
func RegisterDefault(opts ...Option) error {
return Register(http.DefaultServeMux)
return Register(http.DefaultServeMux, opts...)
}

// Register registers the Statsviz HTTP handlers on the provided mux.
Expand Down

0 comments on commit 0141254

Please sign in to comment.