canonical / observability-libs

https://charmhub.io/observability-libs
Apache License 2.0
3 stars 8 forks source link

Strip the CSR from event for correct comparison #52

Closed sed-i closed 1 year ago

sed-i commented 1 year ago

Issue

No certs appear in relation data because the comparison if event.certificate_signing_request == self._csr: was always failing: the event CSR has a trailing \n.

Solution

Strip the CSR from event for correct comparison.

Context

Testing Instructions

Release Notes

Strip the CSR from event for correct comparison.