From a53e1efcfa1a8019c68e10730f0bd8afeb86be42 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 11 Nov 2024 15:26:19 +0100 Subject: [PATCH] fixup! update to latest imagefilter-fmt branch --- cmd/image-builder/list_images.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/image-builder/list_images.go b/cmd/image-builder/list_images.go index faebd47b5f..9622b007ba 100644 --- a/cmd/image-builder/list_images.go +++ b/cmd/image-builder/list_images.go @@ -2,6 +2,8 @@ package main import ( "io" + + "github.com/osbuild/images/pkg/imagefilter" ) func listImages(out io.Writer, format string, filterExprs []string) error { @@ -15,7 +17,7 @@ func listImages(out io.Writer, format string, filterExprs []string) error { return err } - fmter, err := NewFilteredResultFormatter(format) + fmter, err := imagefilter.NewResultsFormatter(imagefilter.OutputFormat(format)) if err != nil { return err }