Skip to content

Commit

Permalink
fixup! rebase on imagefilter-fmt and drop filters_fmt{,_test}.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Nov 9, 2024
1 parent b3d945b commit 8c2dfa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 131 deletions.
83 changes: 0 additions & 83 deletions cmd/image-builder/filters_fmt.go

This file was deleted.

47 changes: 0 additions & 47 deletions cmd/image-builder/filters_fmt_test.go

This file was deleted.

4 changes: 3 additions & 1 deletion cmd/image-builder/list_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package main

import (
"io"

"github.com/osbuild/images/pkg/imagefilter"
)

func listImages(out io.Writer, format string, filterExprs []string) error {
Expand All @@ -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
}
Expand Down

0 comments on commit 8c2dfa4

Please sign in to comment.