Skip to content

Commit 153f23b

Browse files
committed
fix clippy lint
1 parent 0fe91d1 commit 153f23b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rust/olm-deployer/src/data.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
use anyhow::{Context, anyhow};
22
use stackable_operator::kube::{ResourceExt, api::DynamicObject};
33

4-
pub fn containers<'a>(
5-
target: &'a mut DynamicObject,
6-
) -> anyhow::Result<&'a mut Vec<serde_json::Value>> {
4+
pub fn containers(target: &mut DynamicObject) -> anyhow::Result<&mut Vec<serde_json::Value>> {
75
let tname = target.name_any();
86
let path = "template/spec/containers".split("/");
97
match get_or_create(target.data.pointer_mut("/spec").unwrap(), path)? {

0 commit comments

Comments
 (0)