mirror of
https://github.com/rancher/os.git
synced 2025-08-08 10:08:04 +00:00
Merge pull request #748 from datawolf/master
do not print success info when loading images error
This commit is contained in:
commit
0e949dfba4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user