Skip to content

Commit e626cad

Browse files
authored
Merge pull request #212 from cgwalters/minor-sourceinfo-cleanup
install: Drop `commit` from SourceInfo
2 parents cb34ad8 + 635d332 commit e626cad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/src/install.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ pub(crate) struct SourceInfo {
204204
pub(crate) imageref: ostree_container::ImageReference,
205205
/// The digest to use for pulls
206206
pub(crate) digest: String,
207-
/// The embedded base OSTree commit checksum
208-
#[allow(dead_code)]
209-
pub(crate) commit: String,
210207
/// Whether or not SELinux appears to be enabled in the source commit
211208
pub(crate) selinux: bool,
212209
}
@@ -369,7 +366,6 @@ impl SourceInfo {
369366
Ok(Self {
370367
imageref,
371368
digest,
372-
commit,
373369
selinux,
374370
})
375371
}

0 commit comments

Comments
 (0)