File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
crates/stackable-operator/src/crd/git_sync Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ impl GitSyncResources {
126
126
let mount_path = format ! ( "{MOUNT_PATH_PREFIX}-{i}" ) ;
127
127
128
128
let git_sync_root_volume_mount = VolumeMount {
129
- name : volume_name. to_owned ( ) ,
130
- mount_path : GIT_SYNC_ROOT_DIR . to_string ( ) ,
129
+ name : volume_name. clone ( ) ,
130
+ mount_path : GIT_SYNC_ROOT_DIR . to_owned ( ) ,
131
131
..VolumeMount :: default ( )
132
132
} ;
133
133
@@ -161,13 +161,13 @@ impl GitSyncResources {
161
161
container_log_config,
162
162
) ?;
163
163
164
- let volume = VolumeBuilder :: new ( volume_name. to_owned ( ) )
164
+ let volume = VolumeBuilder :: new ( volume_name. clone ( ) )
165
165
. empty_dir ( EmptyDirVolumeSource :: default ( ) )
166
166
. build ( ) ;
167
167
168
168
let git_content_volume_mount = VolumeMount {
169
- name : volume_name. to_owned ( ) ,
170
- mount_path : mount_path. to_owned ( ) ,
169
+ name : volume_name. clone ( ) ,
170
+ mount_path : mount_path. clone ( ) ,
171
171
..VolumeMount :: default ( )
172
172
} ;
173
173
You can’t perform that action at this time.
0 commit comments