Skip to content

Commit

Permalink
fix args passing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Oct 24, 2024
1 parent 99d6e52 commit 93526f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rust/krb5-provision-keytab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ pub async fn provision_keytab(
) -> Result<Response, Error> {
let req_str = serde_json::to_vec(&req).context(SerializeRequestSnafu)?;

let args = vec![format!(
"--kubernetes-cluster-domain {kubernetes_cluster_domain}",
kubernetes_cluster_domain = cluster_info.cluster_domain
)];
let args = vec!["--kubernetes-cluster-domain", &cluster_info.cluster_domain];
let mut child = Command::new("stackable-krb5-provision-keytab")
.args(args)
.kill_on_drop(true)
Expand Down

0 comments on commit 93526f4

Please sign in to comment.