Commit 805ef220 authored by John Jarvis's avatar John Jarvis

Merge branch 'jarv/remove-hash-from-pd-incidents' into 'master'

This were showing up as issues.

See merge request gl-infra/oncall-robot-assistant!15
parents b8507bda d9ff99be
Pipeline #16519529 passed with stage
in 1 minute and 47 seconds
......@@ -7,6 +7,7 @@ import (
"log"
"net/http"
"os"
"strings"
"sync"
"text/template"
"time"
......@@ -129,7 +130,7 @@ func (r *Report) generateTemplate(weeklyOpsGraphs []WeeklyOpsGraph) string {
// Populate list of incidents for the template
for _, p := range incidents {
inc := Incident{}
inc.Summary = p.Summary
inc.Summary = strings.Replace(p.Summary, "#", "", -1)
inc.URL = p.HTMLURL
inc.CreatedAt = p.CreatedAt
templateData.Incidents = append(templateData.Incidents, inc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment