1
0
mirror of https://github.com/rancher/os.git synced 2025-08-08 02:04:13 +00:00

Merge pull request #748 from datawolf/master

do not print success info when loading images error
This commit is contained in:
Ivan Mikushin 2016-02-04 18:34:19 -08:00
commit 0e949dfba4

View File

@ -79,11 +79,11 @@ func loadImages(cfg *config.CloudConfig) (*config.CloudConfig, error) {
err = client.LoadImage(dockerClient.LoadImageOptions{ err = client.LoadImage(dockerClient.LoadImageOptions{
InputStream: input, InputStream: input,
}) })
log.Infof("Done loading images from %s", inputFileName)
if err != nil { if err != nil {
return cfg, err return cfg, err
} }
log.Infof("Done loading images from %s", inputFileName)
} }
return cfg, nil return cfg, nil