Browse Source

Merge "connections: always register the scheduler"

changes/28/636728/3
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
d854806183
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      zuul/lib/connections.py

+ 1
- 2
zuul/lib/connections.py View File

@ -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