File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
crates/stackable-operator/src/builder/pod Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ use k8s_openapi::api::core::v1::{
7
7
SecurityContext , VolumeMount ,
8
8
} ;
9
9
use snafu:: { ResultExt as _, Snafu } ;
10
- use tracing:: instrument;
11
10
#[ cfg( doc) ]
12
11
use { k8s_openapi:: api:: core:: v1:: PodSpec , std:: collections:: BTreeMap } ;
13
12
@@ -211,7 +210,6 @@ impl ContainerBuilder {
211
210
///
212
211
/// Previously, this function unconditionally added [`VolumeMount`]s, which resulted in invalid
213
212
/// [`PodSpec`]s.
214
- #[ instrument( skip( self ) ) ]
215
213
fn add_volume_mount_impl ( & mut self , volume_mount : VolumeMount ) -> Result < & mut Self > {
216
214
if let Some ( existing_volume_mount) = self . volume_mounts . get ( & volume_mount. mount_path ) {
217
215
if existing_volume_mount != & volume_mount {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use k8s_openapi::{
10
10
apimachinery:: pkg:: { api:: resource:: Quantity , apis:: meta:: v1:: ObjectMeta } ,
11
11
} ;
12
12
use snafu:: { OptionExt , ResultExt , Snafu } ;
13
- use tracing:: { instrument , warn} ;
13
+ use tracing:: warn;
14
14
15
15
use crate :: {
16
16
builder:: {
@@ -291,7 +291,6 @@ impl PodBuilder {
291
291
///
292
292
/// Previously, this function unconditionally added [`Volume`]s, which resulted in invalid
293
293
/// [`PodSpec`]s.
294
- #[ instrument( skip( self ) ) ]
295
294
pub fn add_volume ( & mut self , volume : Volume ) -> Result < & mut Self > {
296
295
if let Some ( existing_volume) = self . volumes . get ( & volume. name ) {
297
296
if existing_volume != & volume {
You can’t perform that action at this time.
0 commit comments