Skip to content

Commit a2067e7

Browse files
Fix invocation in methods docs
Signed-off-by: Danil-Grigorev <[email protected]>
1 parent f7e5721 commit a2067e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kube-client/src/client/client_ext.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl Client {
410410
/// let pod: Pod = client.get("some_pod", &Namespace::from("default")).await?;
411411
/// let pp = &PatchParams::apply("controller").force();
412412
/// // Perform an apply patch on the resource
413-
/// client.apply(pod, pp).await?;
413+
/// client.apply(&pod, pp).await?;
414414
/// # Ok(())
415415
/// # }
416416
/// ```
@@ -451,7 +451,7 @@ impl Client {
451451
/// let pod: Pod = client.get("some_pod", &Namespace::from("default")).await?;
452452
/// let pp = &PatchParams::apply("controller").force();
453453
/// // Perform an apply patch on the resource status
454-
/// client.apply(pod, pp).await?;
454+
/// client.apply_status(&pod, pp).await?;
455455
/// # Ok(())
456456
/// # }
457457
/// ```

0 commit comments

Comments
 (0)