canonical / ops-scenario

State-transition testing SDK for Operator Framework Juju charms.
Apache License 2.0
10 stars 7 forks source link

docs: fix event in README example for pebble-ready #96

Closed tonyandrewmeyer closed 8 months ago

tonyandrewmeyer commented 8 months ago

I'm pretty sure this is a typo - the text immediately after this example talks about the container.pebble_ready_event() being sugar, but the code isn't using it (and also the test doesn't pass as-is, but does with this change).

Also a minor wrapping change, which I think makes it clearer what's happening (that the event is not an argument to Context).