Connection names for legacy configs
It has been set like that: connections = {'_legacy_gerrit': Connection(name='gerrit')} This leads to that in merger.py it creates ".ssh_wrapper_gerrit" file, basing it on key from connections dict, but tries to use ".ssh_wrapper__legacy_gerrit", basing on connection name. I propose to set it to "gerrit" everywhere (and the same for smtp). Change-Id: I2c2d8bee7bcf98c5f12809f77b34e206d07b8438
This commit is contained in:
parent
385d11e2ed
commit
ccef05dede
@ -56,11 +56,11 @@ def configure_connections(config):
|
||||
if 'gerrit' in config.sections():
|
||||
connections['gerrit'] = \
|
||||
zuul.connection.gerrit.GerritConnection(
|
||||
'_legacy_gerrit', dict(config.items('gerrit')))
|
||||
'gerrit', dict(config.items('gerrit')))
|
||||
|
||||
if 'smtp' in config.sections():
|
||||
connections['smtp'] = \
|
||||
zuul.connection.smtp.SMTPConnection(
|
||||
'_legacy_smtp', dict(config.items('smtp')))
|
||||
'smtp', dict(config.items('smtp')))
|
||||
|
||||
return connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user