[Bps-public-commit] RT-Extension-Nagios branch, master, updated. c96eb228d74f66214196277ea595d2c1919c7e8a

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Dec 29 07:51:39 EST 2009


The branch, master has been updated
       via  c96eb228d74f66214196277ea595d2c1919c7e8a (commit)
      from  dc21853e983b8fbe933eced474573acc5467d865 (commit)

Summary of changes:
 lib/RT/Action/UpdateNagiosTickets.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c96eb228d74f66214196277ea595d2c1919c7e8a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Dec 29 20:50:08 2009 +0800

    tiny fix

diff --git a/lib/RT/Action/UpdateNagiosTickets.pm b/lib/RT/Action/UpdateNagiosTickets.pm
index c92a3cb..62cbd61 100644
--- a/lib/RT/Action/UpdateNagiosTickets.pm
+++ b/lib/RT/Action/UpdateNagiosTickets.pm
@@ -82,7 +82,7 @@ subject with values $type, $category, $host, $problem_type and $problem_severity
                         'failed to comment ticket ' . $ticket->id . ": $msg" );
                 }
 
-                my ( $ret, $msg ) = $ticket->Resolve();
+                ( $ret, $msg ) = $ticket->Resolve();
                 if ( !$ret ) {
                     $RT::Logger->error(
                         'failed to resolve ticket ' . $ticket->id . ": $msg" );

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list