summaryrefslogtreecommitdiffstats
path: root/src/commands/build.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-03-11 11:47:56 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-11 11:47:56 +0100
commit5ca0dbdf1b13eda96a074d0a2d29dffcb5e60b25 (patch)
treedc2b47b17560d1d87c0300e62ff0331dbbdc54e7 /src/commands/build.rs
parentb95c3f21a2a9406d45a0e421a11f6425291f1182 (diff)
parent540647ef5e911dc931092ecc420de6db1019707f (diff)
Merge branch 'xdg-config'
Diffstat (limited to 'src/commands/build.rs')
-rw-r--r--src/commands/build.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/build.rs b/src/commands/build.rs
index 9880552..81077d4 100644
--- a/src/commands/build.rs
+++ b/src/commands/build.rs
@@ -102,10 +102,10 @@ pub async fn build(
.docker()
.endpoints()
.iter()
- .cloned()
- .map(|ep_cfg| {
+ .map(|(ep_name, ep_cfg)| {
crate::endpoint::EndpointConfiguration::builder()
- .endpoint(ep_cfg)
+ .endpoint_name(ep_name.clone())
+ .endpoint(ep_cfg.clone())
.required_images(config.docker().images().clone())
.required_docker_versions(config.docker().docker_versions().clone())
.required_docker_api_versions(config.docker().docker_api_versions().clone())