Skip to content

Commit dbee4b1

Browse files
cuishuanggopherbot
authored andcommitted
all: fix some comments
Change-Id: I8dca8ad7ebb807ce797b1c842a5381f54360b110 Reviewed-on: https://go-review.googlesource.com/c/build/+/477775 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent 4cb5942 commit dbee4b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/buildlet/buildlet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ func httpStatus(err error) int {
16911691
return he.statusCode
16921692
}
16931693

1694-
// requirePassword is an http.Handler auth wrapper that enforces a
1694+
// requirePasswordHandler is an http.Handler auth wrapper that enforces an
16951695
// HTTP Basic password. The username is ignored.
16961696
type requirePasswordHandler struct {
16971697
h http.Handler

cmd/coordinator/internal/legacydash/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func builderKeyRevoked(builder string) bool {
187187
return false
188188
}
189189

190-
// AuthHandler wraps a http.HandlerFunc with a handler that validates the
190+
// AuthHandler wraps an http.HandlerFunc with a handler that validates the
191191
// supplied key and builder query parameters.
192192
func AuthHandler(h dashHandler) http.Handler {
193193
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

internal/coordinator/pool/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func CoordinatorProcess() *Process {
6161
return process
6262
}
6363

64-
// Process is a datastore record about the lifetime of a coordinator process.
64+
// ProcessRecord is a datastore record about the lifetime of a coordinator process.
6565
//
6666
// Example GQL query:
6767
// SELECT * From Process where LastHeartbeat > datetime("2016-01-01T00:00:00Z")

0 commit comments

Comments
 (0)