Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(resource): issue with servicegroup SQL request (#10331)
Browse files Browse the repository at this point in the history
  • Loading branch information
adr-mo committed Oct 22, 2021
1 parent 272a95e commit 2e12e60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private function prepareSubQuery(
WHERE ssg.host_id = s.host_id AND ssg.service_id = s.service_id
AND EXISTS (SELECT 1 FROM `:dbstg`.`servicegroups` AS sg
WHERE ssg.servicegroup_id = sg.servicegroup_id
AND sg.id = ssg.id AND sg.name IN (' . implode(', ', $groupList) . ') LIMIT 1) LIMIT 1)';
AND sg.name IN (' . implode(', ', $groupList) . ') LIMIT 1) LIMIT 1)';
}

// apply the state filter to SQL query
Expand Down

0 comments on commit 2e12e60

Please sign in to comment.