Skip to content

Commit 9eaa56d

Browse files
committed
tsweb: update doc on BucketedStatsOptions.Finish to match behavior
I originally came to update this to match the documented behavior, but the code is deliberately avoiding this behavior currently, making it hard to decide how to update this. For now just align the documentation to the behavior. Updates #cleanup Signed-off-by: James Tucker <james@tailscale.com>
1 parent 1468337 commit 9eaa56d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsweb/tsweb.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ type BucketedStatsOptions struct {
189189
Started *metrics.LabelMap
190190

191191
// If non-nil, Finished maintains a counter of all requests which
192-
// have finished processing (that is, the HTTP handler has returned).
192+
// have finished processing with success (that is, the HTTP handler has
193+
// returned).
193194
Finished *metrics.LabelMap
194195
}
195196

0 commit comments

Comments
 (0)