From e30fa40409c3e465ffad6fed12c7dd0e45b46e1c Mon Sep 17 00:00:00 2001 From: Martin Millnert Date: Tue, 25 Oct 2016 17:22:14 +0200 Subject: [PATCH] Fix variable typo introduced in Bug 1630513 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 Change-Id: I7757e545b3e9b8d302660d562512d6b897823ea1 Closes-Bug: #1636550 --- src/api-lib/vnc_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api-lib/vnc_api.py b/src/api-lib/vnc_api.py index 7af56a87c8f..07ef57eec9c 100644 --- a/src/api-lib/vnc_api.py +++ b/src/api-lib/vnc_api.py @@ -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)