Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Add using is_ready safeguard to get_endpoint docstring #170

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

michaeldmitry
Copy link
Contributor

@michaeldmitry michaeldmitry commented Sep 17, 2024

Issue

Fixes #169

Solution

Add documentation to use the is_ready safeguard before get_endpoint to prevent permission denied exceptions due to non-leader units trying to access local app databags.

lib/charms/tempo_k8s/v2/tracing.py Outdated Show resolved Hide resolved
lib/charms/tempo_k8s/v2/tracing.py Outdated Show resolved Hide resolved
@michaeldmitry michaeldmitry changed the title Add leader safeguard in get_endpoint in tracing library Add using is_ready safeguard to get_endpoint docstring Sep 17, 2024
@michaeldmitry michaeldmitry merged commit 82090bd into main Sep 17, 2024
13 checks passed
@michaeldmitry michaeldmitry deleted the OPENG-2736 branch September 17, 2024 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-leader unit charm errors out on tracing-relation-xx event when integrated with Tempo over tracing
3 participants