diff options
Diffstat (limited to 'zuul/lib')
-rw-r--r-- | zuul/lib/connections.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zuul/lib/connections.py b/zuul/lib/connections.py index b5f5e53f5..c4d458158 100644 --- a/zuul/lib/connections.py +++ b/zuul/lib/connections.py @@ -46,7 +46,7 @@ class ConnectionRegistry(object): log = logging.getLogger("zuul.ConnectionRegistry") - def __init__(self): + def __init__(self, check_bwrap=False): self.connections = OrderedDict() self.drivers = {} @@ -57,7 +57,8 @@ class ConnectionRegistry(object): self.registerDriver(zuul.driver.smtp.SMTPDriver()) self.registerDriver(zuul.driver.timer.TimerDriver()) self.registerDriver(zuul.driver.sql.SQLDriver()) - self.registerDriver(zuul.driver.bubblewrap.BubblewrapDriver()) + self.registerDriver( + zuul.driver.bubblewrap.BubblewrapDriver(check_bwrap)) self.registerDriver(zuul.driver.nullwrap.NullwrapDriver()) self.registerDriver(zuul.driver.mqtt.MQTTDriver()) self.registerDriver(zuul.driver.pagure.PagureDriver()) |