Skip to content

Commit 459baee

Browse files
authored
Merge pull request #93 from orangecms/patch-1
docs/controllers/reconciler: fix simplified in-depth solution example
2 parents 03dd178 + 87093c1 commit 459baee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/controllers/reconciler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ but we can actually simplify this significantly by taking advantage of idempoten
182182
```rust
183183
let pod_data = create_owned_pod(&obj);
184184
let serverside = PatchParams::apply("mycontroller");
185-
let pod = pods.patch(pod.name_any(), serverside, Patch::Apply(pod_data)).await?
185+
let pod = pods.patch(obj.name_any(), serverside, Patch::Apply(pod_data)).await?
186186

187187
// update status object with the creation_timestamp of the owned Pod
188188
let status = json!({

0 commit comments

Comments
 (0)