added test for everything container related
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user