aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-08 16:11:28 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-08 14:24:44 +0000
commitea0a34bcd49eaac0b51a7f5181e15f6ecb43dad4 (patch)
tree8c5075fc2fddfcadfaa71da94e8a7c1d854e4cfe
parent4d9fdfa461729263f3e6134019fc4feb812381d2 (diff)
syz-cluster: support empty DocLink in the email template
We don't have the doc (yet), so let's not mention it.
-rw-r--r--syz-cluster/pkg/report/template.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/syz-cluster/pkg/report/template.txt b/syz-cluster/pkg/report/template.txt
index 687cec214..6a4723771 100644
--- a/syz-cluster/pkg/report/template.txt
+++ b/syz-cluster/pkg/report/template.txt
@@ -44,7 +44,9 @@ syz repro: {{.LinkSyzRepro}}
---
This report is generated by a bot. It may contain errors.
+{{- if .Config.DocsLink}}
See {{.Config.DocsLink}} for more information about {{.Config.Name}}.
+{{- end}}
{{.Config.Name}} engineers can be reached at {{.Config.SupportEmail}}.
{{- if .Report.Moderation}}