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

chore: Use Ops.CollectStatus Event #34

Closed
wants to merge 1 commit into from

Conversation

gatici
Copy link
Contributor

@gatici gatici commented Nov 24, 2023

Description

This PR uses new ops feature CollectStatus Event to manage status Charm. Event named "collect_unit_status" sets the status of charm automatically at the end of every hook.

Reference:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have bumped the version of the library

@gatici gatici requested a review from a team as a code owner November 24, 2023 13:59
@gatici gatici force-pushed the TELCO-881-use-ops-CollectStatus branch from 92f3812 to 2f8baf5 Compare November 27, 2023 10:14
Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici force-pushed the TELCO-881-use-ops-CollectStatus branch from 2f8baf5 to 67b6db5 Compare November 27, 2023 12:12
@gatici
Copy link
Contributor Author

gatici commented Nov 28, 2023

Waiting for the fix of canonical/operator#940.

@gatici gatici marked this pull request as draft November 28, 2023 08:02
@gatici gatici closed this Mar 12, 2024
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.

1 participant