Browse Source

Merge "connections: always register the scheduler"

changes/28/636728/3
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
d854806183
  1. 3
      zuul/lib/connections.py

3
zuul/lib/connections.py

@ -62,8 +62,7 @@ class ConnectionRegistry(object):
def registerScheduler(self, sched, load=True):
for driver_name, driver in self.drivers.items():
if hasattr(driver, 'registerScheduler'):
driver.registerScheduler(sched)
driver.registerScheduler(sched)
for connection_name, connection in self.connections.items():
connection.registerScheduler(sched)
if load:

Loading…
Cancel
Save