From 3704fdda53dc32f4fdf812cbcd32ca4a64ca3ef5 Mon Sep 17 00:00:00 2001 From: Shashank Kumar Shankar Date: Mon, 23 Apr 2018 16:37:00 -0700 Subject: 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 --- ocata/ocata/registration/views/registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ocata') 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' -- cgit 1.2.3-korg