added pointer for hostgroup in service

This commit is contained in:
Rafael.Timmerberg 2013-06-20 00:26:07 +02:00
commit f36df89dd0
2 changed files with 19 additions and 6 deletions

View file

@ -254,5 +254,8 @@ class FullConfigParser(ConfigParser):
for hg in hostgroups:
for service in hg.get_services():
service.set_hostgroup(hg)
core = None
if "core" in self.jsonDict:
core = self.jsonDict["core"]
return layouts
return (layouts, core)