added test for everything container related

This commit is contained in:
2025-04-02 16:12:31 +02:00
parent 5f6420a421
commit d6b53a72bb
8 changed files with 206 additions and 58 deletions

View File

@@ -23,7 +23,7 @@ pub struct Image {
/// # Returns
/// * Result with array of Image objects on success or error details
pub fn images() -> Result<Vec<Image>, BuildahError> {
let result = execute_buildah_command(&["images", "--format", "json"])?;
let result = execute_buildah_command(&["images", "--json"])?;
// Try to parse the JSON output
match serde_json::from_str::<serde_json::Value>(&result.stdout) {