mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
[ADD] add some debug messages
This commit is contained in:
parent
e9307cffc2
commit
ec9c035237
@ -102,9 +102,11 @@ func ImagePull(dockerCli *client.Client, image string, username, password string
|
|||||||
if err == io.EOF {
|
if err == io.EOF {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
logrus.Debugf("error decoding jm(JSONMessage): %v", err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if jm.Error != nil {
|
if jm.Error != nil {
|
||||||
|
logrus.Debugf("error pulling image: %v", jm.Error)
|
||||||
return nil, jm.Error
|
return nil, jm.Error
|
||||||
}
|
}
|
||||||
if logger != nil {
|
if logger != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user