1
0
mirror of https://github.com/rancher/os.git synced 2025-07-30 22:24:33 +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{
InputStream: input,
})
log.Infof("Done loading images from %s", inputFileName)
if err != nil {
return cfg, err
}
log.Infof("Done loading images from %s", inputFileName)
}
return cfg, nil