Skip to content

Commit 9e91f3f

Browse files
maltesanderadwk67
andauthored
Update rust/operator-binary/src/znode_controller.rs
Co-authored-by: Andrew Kenworthy <1712947+adwk67@users.noreply.github.com>
1 parent 90c8e3a commit 9e91f3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/operator-binary/src/znode_controller.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ pub async fn reconcile_znode(
198198
let client = &ctx.client;
199199

200200
// dereference (client required)
201+
// Capturing the Result here (rather than the inner value) is intentional as ZkDoesNotExist will be handled explicitly below
201202
let dereferenced_objects = dereference::dereference(client, znode).await;
202203
let mut default_status_updates: Option<v1alpha1::ZookeeperZnodeStatus> = None;
203204
// Store the znode path in the status rather than the object itself, to ensure that only K8s administrators can override it

0 commit comments

Comments
 (0)