diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-26 10:16:14 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-27 10:20:53 -0500 |
commit | 6db081fc5e38df6e757da0af8e4e3c74eaa720f6 (patch) | |
tree | b1912f555c5a5abc32dbfdd64757e4ce5e4993f2 /cmd/podman/images | |
parent | fdf64f0c66be4569732b830ce60c98f98a7efe64 (diff) | |
download | podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.tar.gz podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.tar.bz2 podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.zip |
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 <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/load.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |