Skip to content

Commit 41ba13c

Browse files
adwk67sbernauer
andauthored
Update crates/stackable-operator/src/crd/git_sync/v1alpha1_impl.rs
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent 6c26212 commit 41ba13c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl GitSyncResources {
131131
"password",
132132
));
133133
}
134-
if matches!(git_sync.credentials, Some(Credentials::Ssh { .. })) {
134+
if let Some(Credentials::Ssh { .. }) = git_sync.credentials {
135135
env_vars.push(EnvVar {
136136
name: "GITSYNC_SSH_KEY_FILE".to_owned(),
137137
value: Some(format!("{SSH_MOUNT_PATH_PREFIX}-{i}/key").to_owned()),

0 commit comments

Comments
 (0)