-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
inspect: rename ImageID go field to Image #4195
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vrothberg 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 |
Rerunning tests. |
Found some cycles to look into the test failures which are fixed now. |
/lgtm |
Looks like the gating job is stuck. |
The json field is called `Image` while the go field is called `ImageID`, tricking users into filtering for `Image` which ultimately results in an error. Hence, rename the field to `Image` to align json and go. To prevent podman users from regressing, rename `Image` to `ImageID` in the specified filters. Add tests to prevent us from regressing. Note that consumers of the go API that are using `ImageID` are regressing; ultimately we consider it to be a bug fix. Fixes: containers#4193 Signed-off-by: Valentin Rothberg <[email protected]>
Repushed to retrigger the blocked gating test. |
Needs another lgtm :^) |
Suffering from the --rm flakes. Restarted. |
@rhatdan @TomSweeneyRedHat mind (re)dropping the final lgtm for merging? |
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
But I'll note that I'd personally prefer it to be ImageID everywhere. However, Docker has it as "Image" also, so probably best to be Image
/lgtm |
See containers/podman#4195 Signed-off-by: Sebastian Wagner <[email protected]>
See containers/podman#4195 Signed-off-by: Sebastian Wagner <[email protected]>
See containers/podman#4195 Signed-off-by: Sebastian Wagner <[email protected]>
See containers/podman#4195 Signed-off-by: Michael Fritch <[email protected]>
The json field is called
Image
while the go field is calledImageID
,tricking users into filtering for
Image
which ultimately results in anerror. Hence, rename the field to
Image
to align json and go.To prevent podman users from regressing, rename
Image
toImageID
inthe specified filters. Add tests to prevent us from regressing. Note
that consumers of the go API that are using
ImageID
are regressing;ultimately we consider it to be a bug fix.
Fixes: #4193
Signed-off-by: Valentin Rothberg [email protected]