Skip to content

Commit

Permalink
docs: correct the version run_action was added (canonical#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer authored Nov 6, 2023
1 parent bc8a5f7 commit aa90113
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# 2.9.0

* Added `Harness.run_action()`, `testing.ActionOutput`, and `testing.ActionFailed`

# 2.8.0

* Added `Unit.reboot()` and `Harness.reboot_count``
* Added `RelationMeta.optional`
* The type of a `Handle`'s `key` was expanded from `str` to `str|None`
* Added `Harness.run_action()`, `testing.ActionOutput`, and `testing.ActionFailed`
* Narrowed types of `app` and `unit` in relation events to exclude `None` where applicable

# 2.7.0
Expand Down
2 changes: 1 addition & 1 deletion ops/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ def run_action(self, action_name: str,
...
harness.run_action("action-name", params)
*New in version 2.8*
*New in version 2.9*
Args:
action_name: the name of the action to run, as found in ``actions.yaml``.
Expand Down

0 comments on commit aa90113

Please sign in to comment.