spiegel_podman/pkg
Paul Holzinger 20eccfc9d0
podman machine inspect: use report.Formatter over Template
Currently the podman command --format output code uses a mix of
report.Formatter and report.Template.

I patched report.Formatter to correctly handle newlines[1]. Since we
cannot fix this with report.Template we have to migrate all users to
report.Formatter. This ensures consistent behavior for all commands.

This change does not change the output, we can add a new test for the
newline bug when the common PR is vendored in.

Also fix a bug where a invlaid template would not cause a exit code > 0,
see the added test case.

[1] https://github.com/containers/common/pull/1146

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-09-13 10:33:13 +02:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api Merge pull request #15511 from rhatdan/codespell 2022-09-12 16:52:08 +02:00
auth Fix stutters 2022-09-10 07:52:00 -04:00
autoupdate kube play: support auto updates and rollbacks 2022-09-06 08:56:55 +02:00
bindings Fix stutters 2022-09-10 07:52:00 -04:00
channel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint Fix stutters 2022-09-10 07:52:00 -04:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain Use new secret store API 2022-09-12 18:05:17 +02:00
env Fix stutters 2022-09-10 07:52:00 -04:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io kube: plug HostUsers in the pod spec 2022-09-08 22:08:50 +02:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine podman machine inspect: use report.Formatter over Template 2022-09-13 10:33:13 +02:00
namespaces podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
parallel Fix stutters 2022-09-10 07:52:00 -04:00
ps Fix stutters 2022-09-10 07:52:00 -04:00
rootless Fix stutters 2022-09-10 07:52:00 -04:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen Use new secret store API 2022-09-12 18:05:17 +02:00
specgenutil Fix stutters 2022-09-10 07:52:00 -04:00
systemd Fix stutters 2022-09-10 07:52:00 -04:00
terminal podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Fix stutters 2022-09-10 07:52:00 -04:00
util refactor: use os.ReadDir for lightweight directory reading 2022-09-11 15:58:31 +08:00