Skip to content

Commit

Permalink
install: Drop commit from SourceInfo
Browse files Browse the repository at this point in the history
This is dead code right now; dropping it helps lower our
dependency on ostree.

Signed-off-by: Colin Walters <walters@verbum.org>
  • Loading branch information
cgwalters committed Dec 1, 2023
1 parent cb34ad8 commit 635d332
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ pub(crate) struct SourceInfo {
pub(crate) imageref: ostree_container::ImageReference,
/// The digest to use for pulls
pub(crate) digest: String,
/// The embedded base OSTree commit checksum
#[allow(dead_code)]
pub(crate) commit: String,
/// Whether or not SELinux appears to be enabled in the source commit
pub(crate) selinux: bool,
}
Expand Down Expand Up @@ -369,7 +366,6 @@ impl SourceInfo {
Ok(Self {
imageref,
digest,
commit,
selinux,
})
}
Expand Down

0 comments on commit 635d332

Please sign in to comment.