[Bps-public-commit] rt-extension-pagerduty branch doc-updates updated. ee5a2e811872d35265d8723bb8548511a4fd6fe1

BPS Git Server git at git.bestpractical.com
Fri Apr 15 18:45:53 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-pagerduty".

The branch, doc-updates has been updated
       via  ee5a2e811872d35265d8723bb8548511a4fd6fe1 (commit)
      from  0dcbb73e7288e7a5a088fb44402aebd32e23fb72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee5a2e811872d35265d8723bb8548511a4fd6fe1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Apr 16 02:45:16 2022 +0800

    $tag already contains all the info

diff --git a/lib/RT/Action/UpdatePagerDuty.pm b/lib/RT/Action/UpdatePagerDuty.pm
index a32679a..1c59524 100644
--- a/lib/RT/Action/UpdatePagerDuty.pm
+++ b/lib/RT/Action/UpdatePagerDuty.pm
@@ -86,7 +86,7 @@ sub _trigger {
                 id   => $service_id,
                 type => "service_reference"
             },
-            incident_key => "[$tag #$id]",
+            incident_key => $tag,
             body         => {
                 type    => "incident_body",
                 details => $content
-----------------------------------------------------------------------

Summary of changes:
 lib/RT/Action/UpdatePagerDuty.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
rt-extension-pagerduty


More information about the Bps-public-commit mailing list