mirror of
https://github.com/rancher/os.git
synced 2025-09-14 06:00:06 +00:00
when the client.LoadImage return an error, there should not be print success info like the following: "INFO[0000] Done loading images from /usr/share/ros/images.tar" This patch fix it by move the log.Infof() after the err check. Signed-off-by: Wang Long <long.wanglong@huawei.com>