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

fix: DPE-6521 Add missing check and wait for pebble calls #571

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

paulomach
Copy link
Contributor

Issue

  1. Call to pebble fails due to missing readiness check
  2. Call to pebble exec without a wait for the process (call is not executed)

Solution

Add said calls.

@@ -144,3 +144,5 @@ Makefile

# local pyright settings
pyrightconfig.json

wt*/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

included to ignore worktree dirs

Copy link
Contributor

@shayancanonical shayancanonical left a comment

Choose a reason for hiding this comment

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

ay ay ay, what a slip up. great catch!

def unit_initialized(self) -> bool:
"""Return whether a unit is started.

Oveerride parent class method to include container accessibility check.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Oveerride parent class method to include container accessibility check.
Override parent class method to include container accessibility check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@paulomach paulomach merged commit a1efa63 into main Feb 6, 2025
100 of 102 checks passed
@paulomach paulomach deleted the fix/wait_on_exec branch February 6, 2025 22:45
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.

4 participants