Skip to content

Commit

Permalink
Display same error as split
Browse files Browse the repository at this point in the history
Partial fix for containers/podman#23120

Working on a fix for this crash, but want same error to come back as
non-remote case.

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Jun 27, 2024
1 parent a61e70b commit 2bf83f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libimage/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (r *Runtime) compileImageFilters(ctx context.Context, options *ListImagesOp
filter = filterBefore(until)

default:
return nil, fmt.Errorf("unsupported image filter %q", key)
return nil, fmt.Errorf("invalid image filter %q: must be in the format %q", key, "filter=value or filter!=value")
}
if negate {
filter = negateFilter(filter)
Expand Down

0 comments on commit 2bf83f2

Please sign in to comment.