summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorzhiyuan_cai <luckyvega.g@gmail.com>2015-01-04 11:26:18 +0800
committerzhiyuan_cai <luckyvega.g@gmail.com>2015-01-04 11:26:18 +0800
commit369ae3f9f06c90e8d57b71befa6bc22a843c2f7d (patch)
treefbde9519581762b92cf6c8e11454be9e7e528d06 /openstackclient/network
parentcbb26724fccdbbb76913a8f2994768dea3046480 (diff)
downloadpython-openstackclient-369ae3f9f06c90e8d57b71befa6bc22a843c2f7d.tar.gz
Check if service.name available before access
Currently v3 endpoint commands access service.name directly, while name is not a required attribute of service. So if we associate an endpoint to a service without name, we will get an AttributeError executing v3 endpoint commands later. This patch addresses this issue by checking if service.name is available before accessing it. Change-Id: I3dd686ef02a2e21e2049a49cb55634385c2ecfaf Closes-Bug: #1406737
Diffstat (limited to 'openstackclient/network')
0 files changed, 0 insertions, 0 deletions