Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the agent ID instead of unit ID in cluster config dict #70

Merged
merged 2 commits into from
Mar 19, 2024

Commits on Mar 19, 2024

  1. Ensures that we set the agent's ID in relation data when we set a DB

    bind address. This may not correspond to the unit's ID.
    manadart committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    efe1af3 View commit details
    Browse the repository at this point in the history
  2. Uses the agent ID instead of the unit ID when setting the cluster bind

    addresses in the application data bag.
    
    This is what is ultimately written to file and used by the agent, which
    does knows its own ID, but not necessarily the unit's.
    manadart committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    ede3f03 View commit details
    Browse the repository at this point in the history