summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2013-03-18 15:28:57 -0400
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2013-03-18 18:06:52 -0400
commit4664d2294aed498ef013afc1689740f03de80a6c (patch)
tree190346ebe622de6a6a933d3c8303d8cbb95b2051 /nova/openstack
parent85aebeb8b864f990cdfb78b6deafc8a3fe3c1e23 (diff)
downloadnova-4664d2294aed498ef013afc1689740f03de80a6c.tar.gz
nova-4664d2294aed498ef013afc1689740f03de80a6c.tar.xz
nova-4664d2294aed498ef013afc1689740f03de80a6c.zip
Fix RequestContext crashes w/ no service catalog
Code introduced in a prev review assumed service_catalog will be at least an empty list and will never be None. But missed one code path where the service_catalog could potentially be set to None. So this change switches back the default value of service_catalog in the arguments to None and makes sure we tolerate anyone else passing in a None or Empty list as service_catalog Fix for LP# 1156730 Change-Id: I480b761d57c4699ea7ef72114160cdbeb281e454
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions