~moon127/charms/trusty/rabbitmq-server/rabbit-ghost-fix

« back to all changes in this revision

Viewing changes to hooks/rabbitmq_server_relations.py

[hopem, r=]

Fixes Bug #1510902: [ipv6] amqp relation set without providing relation_id
Backported from /next

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        # NOTE: active/active case
173
173
        if config('prefer-ipv6'):
174
174
            relation_settings = {'private-address': host_addr}
175
 
            relation_set(relation_settings=relation_settings)
 
175
            relation_set(relation_id=relation_id,
 
176
                         relation_settings=relation_settings)
176
177
 
177
178
        return
178
179