Skip to content

Commit

Permalink
Merge pull request containers#597 from ckyrouac/upgrade-error-msg
Browse files Browse the repository at this point in the history
upgrade: More detailed rpm-ostree modification error msg
  • Loading branch information
jeckersb authored Jun 11, 2024
2 parents 790e7c8 + dda90fe commit 55f1bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
.map_or(false, |b| b.incompatible)
{
return Err(anyhow::anyhow!(
"Booted deployment contains local rpm-ostree modifications; cannot upgrade via bootc"
"Booted deployment contains local rpm-ostree modifications; cannot upgrade via bootc. You can run `rpm-ostree reset` to undo the modifications."
));
}
let spec = RequiredHostSpec::from_spec(&host.spec)?;
Expand Down

0 comments on commit 55f1bc6

Please sign in to comment.