cmd/trace/v2: fix typo in comment

Change-Id: Icbf295e668335945084616a88c3ea2cef1bb2527
GitHub-Last-Rev: 0341d0fea71a194d7a85741f6951c8c7c21aee33
GitHub-Pull-Request: golang/go#66229
Reviewed-on: https://go-review.googlesource.com/c/go/+/570356
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
guoguangwu 2024-03-10 07:36:36 +00:00 committed by Gopher Robot
parent 78755f6b8c
commit b28b4248f9

View File

@ -20,7 +20,7 @@ import (
"time" "time"
) )
// UserTasksHandlerFunc returns a HandlerFunc that reports all regions found in the trace. // UserRegionsHandlerFunc returns a HandlerFunc that reports all regions found in the trace.
func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc { func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) { return func(w http.ResponseWriter, r *http.Request) {
// Summarize all the regions. // Summarize all the regions.