Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix incorrectly copied docstring, update Pebble docs link #197

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scenario/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,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
Loading