From 019bcddcc9d852eb3991264c476596d324099002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Fri, 7 Feb 2020 06:41:37 +0100 Subject: [PATCH] Add FIXMEs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- cmd/podman/load.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/podman/load.go b/cmd/podman/load.go index ed6a4e5fa744..29e8368b66bf 100644 --- a/cmd/podman/load.go +++ b/cmd/podman/load.go @@ -95,8 +95,8 @@ func loadCmd(c *cliconfig.LoadValues) error { return err } if len(imageName) > 0 { - split := strings.Split(names, ",") - newImage, err := runtime.NewImageFromLocal(split[0]) + split := strings.Split(names, ",") // FIXME: This should just be an array + newImage, err := runtime.NewImageFromLocal(split[0]) // FIXME: How does it make sense to use the name for one iamge and ignore the others?... It doesn't really work anyway. if err != nil { return err }