Skip to content

Commit 1d197f9

Browse files
dmitshurgopherbot
authored andcommitted
cmd/gopherbot: improve clarity of log message
For golang/go#53077. Change-Id: I877f1132c0e9e63947742d3b870d1742858091f7 Reviewed-on: https://go-review.googlesource.com/c/build/+/409654 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 2305360 commit 1d197f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gopherbot/gopherbot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2081,9 +2081,9 @@ func (b *gopherbot) assignReviewersToCLs(ctx context.Context) error {
20812081
if ok {
20822082
return nil
20832083
}
2084+
log.Printf("humanReviewersOnChange reported insufficient reviewers or cc on CL %d, attempting to add some", cl.Number)
20842085

20852086
changeURL := fmt.Sprintf("https://go-review.googlesource.com/c/%s/+/%d", gp.Project(), cl.Number)
2086-
log.Printf("No reviewers or cc: %s", changeURL)
20872087
files, err := b.gerrit.ListFiles(ctx, gc.ID(), cl.Commit.Hash.String())
20882088
if err != nil {
20892089
log.Printf("Could not get change %+v: %v", gc, err)

0 commit comments

Comments
 (0)