Skip to content

Commit e4adc38

Browse files
committed
internal/telemetry/cmd/stacks: remove Issue.predicateText
It was unused. Change-Id: I2520b27f5662d2da67d922b8c28c8df1c90cf70f Reviewed-on: https://go-review.googlesource.com/c/tools/+/643796 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 8bf2b65 commit e4adc38

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gopls/internal/telemetry/cmd/stacks/stacks.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ func readIssues(pcfg ProgramConfig) ([]*Issue, error) {
410410
issue.Number, err, block)
411411
continue
412412
}
413-
issue.predicateText = block
414413
issue.predicate = pred
415414
}
416415
}
@@ -930,8 +929,7 @@ type Issue struct {
930929
Body string // in Markdown format
931930

932931
// Set by readIssues.
933-
predicateText string // text of ```#!stacks...``` predicate block
934-
predicate func(string) bool // matching predicate over stack text
932+
predicate func(string) bool // matching predicate over stack text
935933

936934
// Set by claimIssues.
937935
newStacks []string // new stacks to add to existing issue (comments and IDs)

0 commit comments

Comments
 (0)