podman/pkg/machine
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
..
applehv Add interface for apple hypervisor 2022-08-08 14:04:49 -05:00
e2e podman machine inspect: use report.Formatter over Template 2022-09-13 10:33:13 +02:00
qemu Fix stutters 2022-09-10 07:52:00 -04:00
wsl Fix stutters 2022-09-10 07:52:00 -04:00
config.go Run codespell 2022-08-25 16:32:31 -04:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
fcos.go Clean up cached machine images 2022-07-15 09:10:43 -04:00
fedora.go Fix potential leak on mid-stream read error 2022-07-19 14:06:47 -05:00
ignition.go Fix stutters 2022-09-10 07:52:00 -04:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
ignition_linux.go Set machine timezone 2021-12-16 12:40:20 -06:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go Machine init: create .ssh dir if not exist 2022-07-15 15:36:17 -04:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Improved Windows compatibility for machine command 2022-08-29 16:53:42 +03:00
pull.go Improved Windows compatibility 2022-08-23 11:06:51 +03:00