cmd/gerritbot: include link to wiki in import messages

Update golang/go#18517

Change-Id: I5c7980d07db368c90c2e76610ee4c854cec27b60
Reviewed-on: https://go-review.googlesource.com/92936
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Andrew Bonventre 2018-02-08 16:20:11 -05:00
Родитель 9a4204b0d0
Коммит f0cb6847bc
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -561,7 +561,8 @@ func (b *bot) importGerritChangeFromPR(ctx context.Context, pr *github.PullReque
Please visit %s to see it.
Tip: You can toggle comments on/off from GerritBot using the %s slash command (e.g. %s)`,
Tip: You can toggle comments from me using the %s slash command (e.g. %s)
See the [Wiki page](https://golang.org/wiki/GerritBot) for more info`,
pr.Head.GetSHA(), changeURL, "`comments`", "`/comments off`")
return b.postGitHubMessageNoDup(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber(), msg)
}