From 6db081fc5e38df6e757da0af8e4e3c74eaa720f6 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Sun, 26 Apr 2020 10:16:14 -0500 Subject: enable load integration tests fix bug where multiple images can be loaded and have to be able to handle the return of multiple names Signed-off-by: Brent Baude --- cmd/podman/images/load.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/images/load.go b/cmd/podman/images/load.go index 23c657b59..f49f95002 100644 --- a/cmd/podman/images/load.go +++ b/cmd/podman/images/load.go @@ -6,6 +6,7 @@ import ( "io" "io/ioutil" "os" + "strings" "github.com/containers/image/v5/docker/reference" "github.com/containers/libpod/cmd/podman/parse" @@ -89,6 +90,6 @@ func load(cmd *cobra.Command, args []string) error { if err != nil { return err } - fmt.Println("Loaded image: " + response.Name) + fmt.Println("Loaded image(s): " + strings.Join(response.Names, ",")) return nil } -- cgit v1.2.3-54-g00ecf