Skip to content

Commit

Permalink
DOC: clarify "non-terminated"
Browse files Browse the repository at this point in the history
  • Loading branch information
slivingston committed Nov 28, 2024
1 parent 8292715 commit 4da72ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ fn select_instance<S: ToString>(
/// Get details of an instance: start time, status, deployment, ...
///
/// If `instance_id` is None, then this command applies to the
/// current (non-terminated) instance. If there is more than one
/// non-terminated instance, an error is returned.
/// current (INIT or READY) instance. If there is more than one,
/// an error is returned.
pub fn api_instance_info<S: ToString>(
instance_id: Option<S>,
token: Option<String>,
Expand Down Expand Up @@ -388,7 +388,7 @@ pub fn api_wdeployment_info<S: std::fmt::Display>(
/// Start termination of an instance.
///
/// If `instance_id` is None, then this command applies to the
/// current (non-terminated) instance.
/// current (INIT or READY) instance.
pub fn api_terminate_instance(
instance_id: Option<&str>,
token: Option<String>,
Expand Down

0 comments on commit 4da72ef

Please sign in to comment.