Comment 1 for bug 873116

Revision history for this message
Jim Baker (jimbaker) wrote :

As of r514, use some variant of the following in the upgrade-charm hook:

  for relation_id in $(relation-ids [optional relation name]); do
    relation-set -r $relation_id ready=true
  done

where "ready" is an arbitrarily named setting to cause the relation-changed hooks to rerun.