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

Add safeguard on _PebbleLogClient static method calls #41

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

michaeldmitry
Copy link
Contributor

Issue

in worker.py, _PebbleLogClient calls static methods which do operations on the container without checking if its ready or not. In occasions, where the workload image is not cached, so juju takes time to fetch it, this will raise an exception since the container is not ready yet.

@michaeldmitry michaeldmitry requested a review from a team as a code owner July 30, 2024 15:32
Copy link
Contributor

@PietroPasotti PietroPasotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaeldmitry michaeldmitry merged commit 82bcee9 into main Jul 30, 2024
5 checks passed
@michaeldmitry michaeldmitry deleted the disable-logging-safeguard branch July 30, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants