Skip to content

Commit b3e460e

Browse files
Merge branch 'feat/git-sync' of github.com:stackabletech/operator-rs into feat/git-sync
2 parents dccf07d + ea4e63f commit b3e460e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/stackable-operator/src/crd/git_sync/v1alpha1_impl.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ impl GitSyncResources {
126126
let mount_path = format!("{MOUNT_PATH_PREFIX}-{i}");
127127

128128
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(),
131131
..VolumeMount::default()
132132
};
133133

@@ -161,13 +161,13 @@ impl GitSyncResources {
161161
container_log_config,
162162
)?;
163163

164-
let volume = VolumeBuilder::new(volume_name.to_owned())
164+
let volume = VolumeBuilder::new(volume_name.clone())
165165
.empty_dir(EmptyDirVolumeSource::default())
166166
.build();
167167

168168
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(),
171171
..VolumeMount::default()
172172
};
173173

0 commit comments

Comments
 (0)