Skip to content

Commit

Permalink
Merge pull request #132 from dimaqq/fix-image-on-pypi
Browse files Browse the repository at this point in the history
docs: fix state transition image on PyPI
  • Loading branch information
PietroPasotti authored May 30, 2024
2 parents 653470b + d10a533 commit 2bda00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ union of an `Event` (why am I, charm, being executed), a `State` (am I leader? w
config?...) and the charm's execution `Context` (what relations can I have? what containers can I have?...). The output is another `State`: the state after the charm has had a chance to interact with the
mocked Juju model and affect the initial state back.

![state transition model depiction](resources/state-transition-model.png)
![state transition model depiction](https://raw.githubusercontent.com/canonical/ops-scenario/main/resources/state-transition-model.png)

For example: a charm currently in `unknown` status is executed with a `start` event, and based on whether it has leadership or not (according to its input state), it will decide to set `active` or `blocked` status (which will be reflected in the output state).

Expand Down

0 comments on commit 2bda00c

Please sign in to comment.