fix: Remove image for docker inspect after running image to get version

This commit is contained in:
Gerald Pinder 2025-01-12 18:14:08 -05:00
parent 890995d54f
commit c68a889490
6 changed files with 301 additions and 138 deletions

View file

@ -236,17 +236,14 @@ impl ImageMetadata {
}
}
#[cfg(feature = "rechunk")]
pub struct ContainerId(pub(super) String);
#[cfg(feature = "rechunk")]
impl std::fmt::Display for ContainerId {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", &self.0)
}
}
#[cfg(feature = "rechunk")]
impl AsRef<std::ffi::OsStr> for ContainerId {
fn as_ref(&self) -> &std::ffi::OsStr {
self.0.as_ref()