diff --git a/src/manifests.rs b/src/manifests.rs index 7adc0b0..a567d60 100644 --- a/src/manifests.rs +++ b/src/manifests.rs @@ -119,10 +119,7 @@ fn get_latest_digest(registry: &str, image: &str, tag: &str) -> Option { .arg(format!("{registry}/{image}:{tag}")) .output(); let val: DockerManifestsResponse = match output_result { - Ok(manifest_output) => { - std::io::stdout().write_all(&manifest_output.stdout); - serde_json::from_slice(&manifest_output.stdout).ok()? - } + Ok(manifest_output) => serde_json::from_slice(&manifest_output.stdout).ok()?, Err(e) => { log::error!("Unable to get manifest for {registry}/{image}:{tag}: {e}"); return None;