Skip to content

Commit

Permalink
Adjust docs as per code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Oct 11, 2023
1 parent 7fba4f1 commit 5799f9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ops/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,8 @@ def reboot(self, now: bool = False) -> None:
hook to complete; this is useful when multiple restarts are required (Juju
will re-run the hook after rebooting).
This will silently fail for Kubernetes charms.
This can only be called for the current unit, and cannot be used in an action
hook.
This is not supported on Kubernetes charms, can only be called for the current unit,
and cannot be used in an action hook.
Args:
now: terminate immediately without waiting for the current hook to complete,
Expand Down

0 comments on commit 5799f9e

Please sign in to comment.