monitoring: Remove duplicate array key 'host_check_command' in the StatusQuery

This commit is contained in:
Eric Lippmann 2015-01-20 13:43:53 +01:00
parent 3a3b1fbe51
commit b0e27c4fe6
1 changed files with 1 additions and 2 deletions

View File

@ -118,7 +118,6 @@ class StatusQuery extends IdoQuery
'host_modified_host_attributes' => 'hs.modified_host_attributes', 'host_modified_host_attributes' => 'hs.modified_host_attributes',
'host_event_handler' => 'hs.event_handler', 'host_event_handler' => 'hs.event_handler',
'host_check_command' => 'hs.check_command',
'host_normal_check_interval' => 'hs.normal_check_interval', 'host_normal_check_interval' => 'hs.normal_check_interval',
'host_retry_check_interval' => 'hs.retry_check_interval', 'host_retry_check_interval' => 'hs.retry_check_interval',
'host_check_timeperiod_object_id' => 'hs.check_timeperiod_object_id', 'host_check_timeperiod_object_id' => 'hs.check_timeperiod_object_id',
@ -368,7 +367,7 @@ class StatusQuery extends IdoQuery
case 'CASE WHEN ss.current_state = 0 THEN 0 ELSE 1 END': case 'CASE WHEN ss.current_state = 0 THEN 0 ELSE 1 END':
if ($sign !== '=') break; if ($sign !== '=') break;
if ($expression) { if ($expression) {
return 'ss.current_state > 0'; return 'ss.current_state > 0';
} else { } else {