Replace aliased imports of logrus, fixes #11762

Signed-off-by: Antonio Murdaca <me@runcom.ninja>
Upstream-commit: 6f4d847046cb4e072de61d042c0266190d73a8c9
Component: engine
This commit is contained in:
Antonio Murdaca
2015-03-26 23:22:04 +01:00
parent 90483774e2
commit e5b36a723c
82 changed files with 597 additions and 597 deletions

View File

@ -6,7 +6,7 @@ import (
"net/http"
"time"
log "github.com/Sirupsen/logrus"
"github.com/Sirupsen/logrus"
)
type resumableRequestReader struct {
@ -72,7 +72,7 @@ func (r *resumableRequestReader) Read(p []byte) (n int, err error) {
r.cleanUpResponse()
}
if err != nil && err != io.EOF {
log.Infof("encountered error during pull and clearing it before resume: %s", err)
logrus.Infof("encountered error during pull and clearing it before resume: %s", err)
err = nil
}
return n, err