Comment 3 for bug 1406737

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/144857
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=369ae3f9f06c90e8d57b71befa6bc22a843c2f7d
Submitter: Jenkins
Branch: master

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.

    Change-Id: I3dd686ef02a2e21e2049a49cb55634385c2ecfaf
    Closes-Bug: #1406737