We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c979ba5 commit e1e9a04Copy full SHA for e1e9a04
cadctl/cmd/investigate/investigate.go
@@ -243,7 +243,7 @@ func updateIncidentTitle(pdClient *pagerduty.SdkClient) error {
243
if strings.Contains(currentTitle, pagerdutyTitlePrefix) {
244
return nil
245
}
246
- newTitle := fmt.Sprintf("[CAD Investigated] %s", currentTitle)
+ newTitle := fmt.Sprintf("%s %s", pagerdutyTitlePrefix, currentTitle)
247
err := pdClient.UpdateIncidentTitle(newTitle)
248
if err != nil {
249
return fmt.Errorf("failed to update PagerDuty incident title: %w", err)
0 commit comments