Comment 2 for bug 1825382

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Looking at your status log above, I only see s little bit of duplication within a single hook:

# Upgrade Charm

- main
- upgrade_charm
- leader_init_db_if_ready
- update_all_identity_relation_units
- identity_changed
- update_nrpe_config
- update_all_identity_relation_units
- identity_changed

The only duplicated function calls that I see within a single hook are the update_all_identity_relation_units and identity_changed in the upgrade-charm hook. I suspect that there is a bit of re-organizing that we can do to remove the first pairs of that function, and only run them later.