From 835cd4eba36a08629f76b2d331a811e9f878f996 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Tue, 14 Dec 2021 11:08:20 +0000 Subject: [PATCH] lib/container: fix error prefix for invalid ostree imgref scheme This fixes a wrong and colliding error prefix, possibly coming from a copy-paste mistake. --- lib/src/container/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/container/mod.rs b/lib/src/container/mod.rs index 39f21d34..06676546 100644 --- a/lib/src/container/mod.rs +++ b/lib/src/container/mod.rs @@ -182,7 +182,7 @@ impl TryFrom<&str> for OstreeImageReference { (SignatureSource::OstreeRemote(remote.to_string()), second) } o => { - return Err(anyhow!("Invalid signature source: {}", o)); + return Err(anyhow!("Invalid ostree image reference scheme: {}", o)); } }; let imgref = rest.deref().try_into()?;