Merge pull request #1332 from riuvshin/master

Fix log info message
This commit is contained in:
Victor Vieux 2015-10-23 10:20:18 -07:00
commit 5146f07b83
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ func (e *Engine) refreshLoop() {
}
} else {
if !e.healthy {
log.WithFields(log.Fields{"name": e.Name, "id": e.ID}).Info("Engine came back to life after %d retries. Hooray!", failedAttempts)
log.WithFields(log.Fields{"name": e.Name, "id": e.ID}).Infof("Engine came back to life after %d retries. Hooray!", failedAttempts)
if err := e.updateSpecs(); err != nil {
log.WithFields(log.Fields{"name": e.Name, "id": e.ID}).Errorf("Update engine specs failed: %v", err)
continue