commit 369ae3f9f06c90e8d57b71befa6bc22a843c2f7d
Author: zhiyuan_cai <email address hidden>
Date: Sun Jan 4 11:26:18 2015 +0800
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.
Reviewed: https:/ /review. openstack. org/144857 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=369ae3f9f06 c90e8d57b71befa 6bc22a843c2f7d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 369ae3f9f06c90e 8d57b71befa6bc2 2a843c2f7d
Author: zhiyuan_cai <email address hidden>
Date: Sun Jan 4 11:26:18 2015 +0800
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: I3dd686ef02a2e2 1e2049a49cb5563 4385c2ecfaf
Closes-Bug: #1406737