~bjornt/charms/precise/landscape-client/apt-retry

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Andreas Hasenack
  • Date: 2013-11-28 20:57:01 UTC
  • mfrom: (33.1.1 landscape-client)
  • Revision ID: andreas@canonical.com-20131128205701-7soutes0hftojtdk
Merged fix-registration-relation [r=jseutter] [f=1256109]

Fixed call to config_changed() in the registration relation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        _write_certificate(data["ssl-public-key"], cert_file)
28
28
        data["ssl-public-key"] = cert_file
29
29
    if "ping-url" in data:
30
 
        config_changed(relation_data=data)
 
30
        config_changed(juju_broker, landscape_broker, relation_data=data)
31
31
 
32
32
 
33
33
def config_changed(juju_broker, landscape_broker, relation_data={}):