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 b3e460e commit c69b2d2Copy full SHA for c69b2d2
crates/stackable-operator/src/crd/git_sync/v1alpha1_impl.rs
@@ -250,12 +250,10 @@ impl GitSyncResources {
250
("--one-time".to_string(), one_time.to_string()),
251
]);
252
253
- let internal_git_config = [(
254
- GIT_SYNC_SAFE_DIR_OPTION.to_string(),
255
- GIT_SYNC_ROOT_DIR.to_string(),
256
- )]
257
- .into_iter()
258
- .collect::<BTreeMap<_, _>>();
+ let internal_git_config = BTreeMap::from([(
+ GIT_SYNC_SAFE_DIR_OPTION.to_owned(),
+ GIT_SYNC_ROOT_DIR.to_owned(),
+ )]);
259
260
let mut user_defined_args = BTreeMap::new();
261
// The key and value in Git configs are separated by a colon, but both
0 commit comments