Skip to content

Commit

Permalink
Merge "Check the correct variable vm_info_list" into R3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 27, 2016
2 parents 847919d + e655f94 commit e498976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/schema-transformer/config_db.py
Expand Up @@ -2435,7 +2435,7 @@ def _get_vm_pt_info(self, vm_pt, mode):
vm_pt.name)
return None
return vm_info
# end _get_vm_info
# end _get_vm_pt_info

def check_create(self):
# Check if this service chain can be created:
Expand Down Expand Up @@ -2477,7 +2477,7 @@ def check_create(self):
if vm_info:
vm_info_list.append(vm_info)
# end for service_vm
if not vm_info:
if not vm_info_list:
return None
virtualization_type = si.get_virtualization_type()
ret_dict[service] = {'mode': mode, 'vm_list': vm_info_list,
Expand Down

0 comments on commit e498976

Please sign in to comment.