From e03c66ffbafd59932871fda8c79d907030b2d9c3 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Fri, 8 Jan 2021 18:57:16 -0700 Subject: Struct-ify arguments to push_profile --- src/bin/deploy.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/bin') 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?; } -- cgit v1.2.3