From a9cc13448ee3185bb63f4c3eef94e755e79b8571 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 22 Apr 2020 17:33:13 -0700 Subject: V2 Restore images list tests * Fix history --quiet formatting * Fix image inspect --format=json * Fix image list --sort Signed-off-by: Jhon Honce --- test/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/utils') 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, " ") } -- cgit v1.2.3-54-g00ecf