summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-04-23 16:37:00 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-04-23 16:39:16 -0700
commit3704fdda53dc32f4fdf812cbcd32ca4a64ca3ef5 (patch)
tree3501f26145f373db4ca697366247f54650e5f749 /ocata
parent2eab5f81270ad90ff5d30d024bf08e490a5cb977 (diff)
Fix some minor issues in codebase
Fixes some minor issues found when writing CSIT tests. Change-Id: I44d2bbc3a661b44824cc98eaf7588a74bac02f8e Issue-ID: MULTICLOUD-214 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/registration/views/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocata/ocata/registration/views/registration.py b/ocata/ocata/registration/views/registration.py
index 4dd87675..b4b73d71 100644
--- a/ocata/ocata/registration/views/registration.py
+++ b/ocata/ocata/registration/views/registration.py
@@ -319,7 +319,7 @@ class Registry(newton_registration.Registry):
cloud_extra_info_str = viminfo.get('cloud_extra_info')
if cloud_extra_info_str :
- cloud_dpdk_info = cloud_extra_info.get("ovsDpdk")
+ cloud_dpdk_info = cloud_extra_info_str.get("ovsDpdk")
if cloud_dpdk_info :
ovsdpdk_capability['hpaCapabilityID'] = str(feature_uuid)
ovsdpdk_capability['hpaFeature'] = 'ovsDpdk'