-
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
fix --format {{json .}} output to match docker #16446
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99 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 |
common patch has been merged upstream. |
Yes and this was wrong, as you can see the tests are failing here. |
LGTM as soon as the issues with c/common are worked out |
8fd8b65
to
f88956d
Compare
`--format json` should not be the same as `--format {{json .}}`, the later should actually run through the go template and thus create one json object per entry instead of an json array. Includes a vendor of c/common@main since it requires a fix from there as well. This matches docker compat. Fixes containers#16436 Signed-off-by: Paul Holzinger <[email protected]>
LGTM |
/lgtm |
--format json
should not be the same as--format {{json .}}
, thelater should actually run through the go template and thus create one
json object per entry instead of an json array.
Includes a vendor of c/common@main since it requires a fix from there as
well.
This matches docker compat.
Fixes #16436
Signed-off-by: Paul Holzinger [email protected]
Does this PR introduce a user-facing change?