We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe91d1 commit 153f23bCopy full SHA for 153f23b
rust/olm-deployer/src/data.rs
@@ -1,9 +1,7 @@
1
use anyhow::{Context, anyhow};
2
use stackable_operator::kube::{ResourceExt, api::DynamicObject};
3
4
-pub fn containers<'a>(
5
- target: &'a mut DynamicObject,
6
-) -> anyhow::Result<&'a mut Vec<serde_json::Value>> {
+pub fn containers(target: &mut DynamicObject) -> anyhow::Result<&mut Vec<serde_json::Value>> {
7
let tname = target.name_any();
8
let path = "template/spec/containers".split("/");
9
match get_or_create(target.data.pointer_mut("/spec").unwrap(), path)? {
0 commit comments