Ensure GERRIT_PORT is an integer
The Gerrit port configuration option must be an integer otherwise paramiko will complain. Change-Id: I97d79940ceba97b1f4b3d20c4ba93b6fc4394e17 Reviewed-on: https://review.openstack.org/34121 Reviewed-by: Eric Erfanian <eric.erfanian@gmail.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
94ebc242c5
commit
a8068d3f5f
@ -296,7 +296,7 @@ def main():
|
||||
LOCAL_GIT_DIR = defaults.get('local-git-dir', '/var/lib/git')
|
||||
ACL_DIR = defaults.get('acl-dir')
|
||||
GERRIT_HOST = defaults.get('gerrit-host')
|
||||
GERRIT_PORT = defaults.get('gerrit-port', '29418')
|
||||
GERRIT_PORT = int(defaults.get('gerrit-port', '29418'))
|
||||
GERRIT_USER = defaults.get('gerrit-user')
|
||||
GERRIT_KEY = defaults.get('gerrit-key')
|
||||
GERRIT_GITID = defaults.get('gerrit-committer')
|
||||
|
Loading…
x
Reference in New Issue
Block a user