Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: PietroPasotti <[email protected]>
  • Loading branch information
tonyandrewmeyer and PietroPasotti authored Apr 10, 2024
1 parent 050ebac commit 8161af7
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 @@ -738,7 +738,7 @@ class MyCharm(ops.CharmBase):
for notice in self.unit.get_container("cont").get_notices():
...

ctx = scenario.Context(MyCharm, meta={"name": "foo", "containers": "cont": {}})
ctx = scenario.Context(MyCharm, meta={"name": "foo", "containers": {"my-container": {}}})
notices = [
scenario.PebbleNotice(key="example.com/a", occurences=10),
scenario.PebbleNotice(key="example.com/b", last_data={"bar": "baz"}),
Expand Down

0 comments on commit 8161af7

Please sign in to comment.