summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/commands/endpoint.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/endpoint.rs b/src/commands/endpoint.rs
index cd65887..0b6e517 100644
--- a/src/commands/endpoint.rs
+++ b/src/commands/endpoint.rs
@@ -494,7 +494,7 @@ async fn images_present(endpoint_names: Vec<EndpointName>,
ep_names_to_images
.iter()
- .map(|(ep_name, ep_imgs)| {
+ .try_for_each(|(ep_name, ep_imgs)| {
config.docker()
.images()
.iter()
@@ -507,7 +507,6 @@ async fn images_present(endpoint_names: Vec<EndpointName>,
}
})
})
- .collect::<Result<()>>()
}
/// Helper function to connect to all endpoints from the configuration, that appear (by name) in