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

[stable/zed] Ensure get_requests_for_local_unit doesn't fail on incomplete relation (#824) #826

Merged
merged 1 commit into from
Aug 1, 2023

Commits on Jul 28, 2023

  1. Ensure get_requests_for_local_unit doesn't fail on incomplete relation (

    #824)
    
    If the certificates relation has been set from a consuming charm for
    certificates, but the provider hasn't supplied a certificate, and the
    request is in the 'legacy' form, then the get_request_for_local_unit()
    function in cert_utils fails on accessing the (non-existant) 'ca'
    parameter in the databag.  This patch ensures that if the 'ca' key is
    missing that the processing moves on to the next relation.
    
    Closes LP#2028683
    ajkavanagh committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b4b0ebd View commit details
    Browse the repository at this point in the history