diff options
author | notgne2 | 2021-01-08 18:57:16 -0700 |
---|---|---|
committer | notgne2 | 2021-01-08 18:57:16 -0700 |
commit | e03c66ffbafd59932871fda8c79d907030b2d9c3 (patch) | |
tree | f54e992bcac1923501ed5ad8063ab0c878f458fa /src/bin/deploy.rs | |
parent | 6854fea5c6994ec39adb3ec12ddd9e5c600df114 (diff) |
Struct-ify arguments to push_profile
Diffstat (limited to 'src/bin/deploy.rs')
-rw-r--r-- | src/bin/deploy.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bin/deploy.rs b/src/bin/deploy.rs index 4620a1c..b7b8981 100644 --- a/src/bin/deploy.rs +++ b/src/bin/deploy.rs @@ -6,6 +6,7 @@ use std::collections::HashMap; use std::io::{stdin, stdout, Write}; use clap::Clap; +use deploy::push::PushProfileData; use std::process::Stdio; use tokio::process::Command; @@ -452,16 +453,16 @@ async fn run_deploy( } for (deploy_data, deploy_defs) in &parts { - deploy::push::push_profile( + deploy::push::push_profile(PushProfileData { supports_flakes, check_sigs, - deploy_flake.repo, - &deploy_data, - &deploy_defs, + repo: deploy_flake.repo, + deploy_data: &deploy_data, + deploy_defs: &deploy_defs, keep_result, result_path, extra_build_args, - ) + }) .await?; } |