Skip to content

Commit

Permalink
Fix variable typo introduced in Bug 1630513
Browse files Browse the repository at this point in the history
Bug https://bugs.launchpad.net/juniperopenstack/+bug/1630513 (native TLS
support between OpenStack's Neutron and contrail-api's neutronapi),
which is long awaited, introduced a variable typo in
contrail-controller/src/api-lib/vnc_api.py.

This fix fixes the bug, and has been tested working in our dev environment,
in so far as neutron-plugin-contrail has stopped throwing stacktraces due
to non-existing variables.

Signed-off-by: Martin Millnert <martin@millnert.se>

Change-Id: I7757e545b3e9b8d302660d562512d6b897823ea1
Closes-Bug: #1636550
  • Loading branch information
Millnert committed Oct 25, 2016
1 parent bd89e2c commit e30fa40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-lib/vnc_api.py
Expand Up @@ -252,7 +252,7 @@ def __init__(self, username=None, password=None, tenant_name=None,
certs.append(kscafile)
if kscertfile:
certs.append(kscertfile)
if kskeytfile:
if kskeyfile:
certs.append(kskeyfile)
if certs:
self._kscertbundle=utils.getCertKeyCaBundle(VncApi._DEFAULT_KS_CERT_BUNDLE,certs)
Expand Down

0 comments on commit e30fa40

Please sign in to comment.