Skip to content

Commit 698d3da

Browse files
authored
Merge pull request #1058 from Alignak-monitoring/for-1057
Closes #1057 - add more initial status broks
2 parents 04b9242 + b3f57f9 commit 698d3da

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

alignak/scheduler.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1489,10 +1489,11 @@ def fill_initial_broks(self, broker_name):
14891489
if not self.pushed_conf.skip_initial_broks:
14901490
# We call initial_status from all this types
14911491
# The order is important, service need host...
1492-
initial_status_types = (self.timeperiods, self.commands,
1493-
self.contacts, self.contactgroups,
1494-
self.hosts, self.hostgroups,
1495-
self.services, self.servicegroups)
1492+
initial_status_types = (self.realms, self.timeperiods, self.commands,
1493+
self.notificationways, self.contacts, self.contactgroups,
1494+
self.hosts, self.hostgroups, self.hostdependencies,
1495+
self.services, self.servicegroups, self.servicedependencies,
1496+
self.escalations)
14961497

14971498
for tab in initial_status_types:
14981499
for item in tab:

tests/requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ codecov
2323
coveralls
2424

2525
# Static code analysis libraries
26-
pylint
26+
# Not yet compatible with most recent 2.2 version
27+
pylint<2.2
2728
pycodestyle
2829
pep257
2930

0 commit comments

Comments
 (0)