diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-04-22 17:33:13 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-04-29 08:24:56 -0700 |
commit | a9cc13448ee3185bb63f4c3eef94e755e79b8571 (patch) | |
tree | e91e17ca9c46540aedbec46e7268ba5f65b24d0c /test/utils | |
parent | 27aa3a7837fa1c5379ff7ca1a9dcd6416b2ac685 (diff) | |
download | podman-a9cc13448ee3185bb63f4c3eef94e755e79b8571.tar.gz podman-a9cc13448ee3185bb63f4c3eef94e755e79b8571.tar.bz2 podman-a9cc13448ee3185bb63f4c3eef94e755e79b8571.zip |
V2 Restore images list tests
* Fix history --quiet formatting
* Fix image inspect --format=json
* Fix image list --sort
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go index 6ab8604a4..0131e023d 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -206,7 +206,7 @@ func WaitContainerReady(p PodmanTestCommon, id string, expStr string, timeout in // OutputToString formats session output to string func (s *PodmanSession) OutputToString() string { - fields := strings.Fields(fmt.Sprintf("%s", s.Out.Contents())) + fields := strings.Fields(string(s.Out.Contents())) return strings.Join(fields, " ") } |