Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request canonical#197 from tonyandrewmeyer/fix-doc-reference
Browse files Browse the repository at this point in the history
docs: fix incorrectly copied docstring, update Pebble docs link
  • Loading branch information
PietroPasotti authored Sep 19, 2024
2 parents 2b968e5 + 2433c1c commit 1eaed95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scenario/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def config_changed():
return _Event("config_changed")

@staticmethod
@_copy_doc(ops.UpdateStatusEvent)
@_copy_doc(ops.UpgradeCharmEvent)
def upgrade_charm():
return _Event("upgrade_charm")

Expand Down
2 changes: 1 addition & 1 deletion scenario/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ class Notice(_max_posargs(1)):
last_repeated: datetime.datetime = dataclasses.field(default_factory=_now_utc)
"""The time this notice was last repeated.
See Pebble's `Notices documentation <https://github.com/canonical/pebble/#notices>`_
See Pebble's `Notices documentation <https://canonical-pebble.readthedocs-hosted.com/en/latest/reference/notices/>`_
for an explanation of what "repeated" means.
"""

Expand Down

0 comments on commit 1eaed95

Please sign in to comment.