Module: nagvis
Branch: master
Commit: 889acd25ccd9c9be5e3208d569c32a73c1b4ad0a
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/nagvis;a=commit;h=889acd25ccd9c9be5e3208d569c32a73c1b4ad0a

Author: Roman Kyrylych <[email protected]>
Date:   Fri Sep  4 15:00:21 2009 +0300

geomap: Remove extra spaces in NagiosService

Signed-off-by: Roman Kyrylych <[email protected]>

---

 share/netmap/NagiosService.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/share/netmap/NagiosService.php b/share/netmap/NagiosService.php
index 204d8ee..ce7397f 100644
--- a/share/netmap/NagiosService.php
+++ b/share/netmap/NagiosService.php
@@ -222,24 +222,24 @@ class NagiosService
                        switch ($service['state'])
                        {
                                case 'PENDING':
-                                       $service_state =  State::UNKNOWN;
+                                       $service_state = State::UNKNOWN;
                                        break;
 
                                case 'OK':
-                                       $service_state =  State::OK;
+                                       $service_state = State::OK;
                                        break;
 
                                case 'WARNING':
-                                       $service_state =  State::WARNING;
+                                       $service_state = State::WARNING;
                                        break;
 
                                case 'CRITICAL':
-                                       $service_state =  State::ERROR;
+                                       $service_state = State::ERROR;
                                        break;
 
                                case 'UNKNOWN':
                                default:
-                                       $service_state =  State::UNKNOWN;
+                                       $service_state = State::UNKNOWN;
                        }
 
                        $state = max($state, $service_state);


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to