Skip to content
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

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Jun 27, 2024

Partial fix for containers/podman#23120

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

@vrothberg
Copy link
Member

Can we vendor that into a podman PR first?

@@ -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")
Copy link
Member

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.

@rhatdan rhatdan force-pushed the filter branch 2 times, most recently from 7725596 to a9ba215 Compare June 29, 2024 09:34
@rhatdan
Copy link
Member Author

rhatdan commented Jun 29, 2024

containers/podman#23137

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 <dwalsh@redhat.com>
@rhatdan
Copy link
Member Author

rhatdan commented Jul 17, 2024

@Luap99 @mheon @vrothberg containers/podman#23137 now passes, please merge.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

openshift-ci bot commented Jul 17, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mheon
Copy link
Member

mheon commented Jul 17, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jul 17, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit fdbae3a into containers:main Jul 17, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants