Skip to content

Commit

Permalink
Fix invocation in methods docs
Browse files Browse the repository at this point in the history
Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev committed Oct 6, 2024
1 parent aa70e33 commit e099459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kube-client/src/client/client_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ impl Client {
/// let pod: Pod = client.get("some_pod", &Namespace::from("default")).await?;
/// let pp = &PatchParams::apply("controller").force();
/// // Perform an apply patch on the resource
/// client.apply(pod, pp).await?;
/// client.apply(&pod, pp).await?;
/// # Ok(())
/// # }
/// ```
Expand Down Expand Up @@ -451,7 +451,7 @@ impl Client {
/// let pod: Pod = client.get("some_pod", &Namespace::from("default")).await?;
/// let pp = &PatchParams::apply("controller").force();
/// // Perform an apply patch on the resource status
/// client.apply(pod, pp).await?;
/// client.apply_status(&pod, pp).await?;
/// # Ok(())
/// # }
/// ```
Expand Down

0 comments on commit e099459

Please sign in to comment.