Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Merge pull request #185 from lucab/ups/container-error-prefix
Browse files Browse the repository at this point in the history
lib/container: fix error prefix for invalid ostree imgref scheme
  • Loading branch information
cgwalters authored Dec 14, 2021
2 parents 6fa7fb9 + 835cd4e commit 1284943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/container/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand Down

0 comments on commit 1284943

Please sign in to comment.