Skip to content

Commit

Permalink
deploy: Log filtered content warning to journal, not stderr
Browse files Browse the repository at this point in the history
This one is really a "soft warning"...it's not a serious
problem to have stuff in `/run`, it's just ignored.

At the same time, we want to persist it so that someone debugging
things later can find the information.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Feb 5, 2024
1 parent b766db8 commit e88cd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub(crate) async fn pull(
if let Some(msg) =
ostree_container::store::image_filtered_content_warning(repo, &imgref.imgref)?
{
eprintln!("{msg}")
crate::journal::journal_print(libsystemd::logging::Priority::Notice, &msg);
}
Ok(Box::new((*import).into()))
}
Expand Down

0 comments on commit e88cd80

Please sign in to comment.