-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display same error as split #2066
Conversation
Can we vendor that into a podman PR first? |
libimage/filters.go
Outdated
@@ -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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use static string as arg to the format string?
Just add the filter=value or filter!=value
part directly into the format string.
7725596
to
a9ba215
Compare
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]>
@Luap99 @mheon @vrothberg containers/podman#23137 now passes, please merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Partial fix for containers/podman#23120
Working on a fix for this crash, but want same error to come back as non-remote case.