summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-03-11 08:39:24 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-03-11 08:39:24 +0100
commitfce4f0ed532b8d2753199f88cdaaa41dcbbf80f4 (patch)
tree9368b6cd7b944d4122a5045ce46a396d7dfabc6a
parenta6ca00f65d37d6a4326137ba675abb57eb854492 (diff)
Fix: Make error message more readable for humans
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net> Tested-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/commands/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/build.rs b/src/commands/build.rs
index 9880552..a7d4486 100644
--- a/src/commands/build.rs
+++ b/src/commands/build.rs
@@ -88,7 +88,7 @@ pub async fn build(
return Err(anyhow!(
"Requested build image {} is not in the configured images", image_name
))
- .with_context(|| anyhow!("Available images: {:?}", config.docker().images()))
+ .with_context(|| anyhow!("Available images: {}", config.docker().images().iter().join(", ")))
.with_context(|| anyhow!("Image present verification failed"))
.map_err(Error::from);
}