We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017206d commit dfe94ecCopy full SHA for dfe94ec
crates/lib/src/rhsm.rs
@@ -92,8 +92,8 @@ impl From<crate::spec::HostStatus> for RhsmFacts {
92
#[context("Publishing facts")]
93
pub(crate) async fn publish_facts(root: &Dir) -> Result<()> {
94
let sysroot = super::cli::get_storage().await?;
95
- let booted_deployment = sysroot.booted_deployment();
96
- let (_deployments, host) = crate::status::get_status(&sysroot, booted_deployment.as_ref())?;
+ let ostree = sysroot.get_ostree()?;
+ let (_, _, host) = crate::status::get_status_require_booted(ostree)?;
97
98
let facts = RhsmFacts::from(host.status);
99
root.atomic_replace_with(FACTS_PATH, |w| {
0 commit comments