зеркало из https://github.com/golang/build.git
cmd/gopherbot: fix Printf vet failure
Currently "go test" on tip fails because there's no argument passed for Printf. Change-Id: I66a028bcb0f10f106c0dcc9643ba878363521127 Reviewed-on: https://go-review.googlesource.com/109458 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
b356aa6e0d
Коммит
eb31ece99b
|
@ -948,7 +948,7 @@ func (b *gopherbot) onLatestCL(ctx context.Context, cl *maintner.GerritCL, f fun
|
|||
return err
|
||||
}
|
||||
if len(ci.Messages) == 0 {
|
||||
log.Printf("onLatestCL: CL %v has no messages. Odd. Ignoring.")
|
||||
log.Printf("onLatestCL: CL %d has no messages. Odd. Ignoring.", cl.Number)
|
||||
return nil
|
||||
}
|
||||
if ci.Messages[len(ci.Messages)-1].ID == cl.Meta.Commit.Hash.String() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче