housekeeping and cleanups...
This commit is contained in:
parent
dc0c54bc5b
commit
88b0c3dd7a
5 changed files with 23 additions and 33 deletions
|
|
@ -52,7 +52,7 @@ def parseHostGroupList(hostgroups, hosts, members, periods, services, log):
|
|||
if service is not None:
|
||||
services.append(service)
|
||||
else:
|
||||
log.w("could not find HostService(" +str(serviceName) + ") for host " + host.name)
|
||||
log.w("could not find HostService(" + str(serviceName) + ") for host " + host.name)
|
||||
hostGroupPeriods = [p for p in periods if p.name in servicePeriods]
|
||||
hostGroup.services.append(HostGroupService(services, hostGroupPeriods))
|
||||
parsedHostGroups.append(hostGroup)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue