Comment 1 for bug 1623917

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

Reviewed: https://review.openstack.org/370793
Committed: https://git.openstack.org/cgit/openstack/charms.openstack/commit/?id=832e0b3b873f5d2f4d1ce55557f849264f02d1c7
Submitter: Jenkins
Branch: master

commit 832e0b3b873f5d2f4d1ce55557f849264f02d1c7
Author: Liam Young <email address hidden>
Date: Thu Sep 15 13:00:08 2016 +0000

    Fix TypeError when calling render_with_interfaces

    The issue appears to be that charms have created child classes of
    OpenStackRelationAdapter or OpenStackAPIRelationAdapters to implement
    bespoke relation adapters. These child classes do not have the
    'charm_instance' keyword arg in their init method. So when
    render_with_interfaces calls the adapter class with
    'charm_instance=self' it explodes.

    This issue wat introduced in https://review.openstack.org/#/c/366776/

    Change-Id: I50e0dfcb37b26a86ead6e2318e945d7efa0875fc
    Closes-Bug: #1623917