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:
commit
0e949dfba4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user