Skip to content

Commit

Permalink
Continue refresh the configuration after a failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored and traefiker committed Feb 12, 2018
1 parent 1e71f52 commit 2fde3e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/eureka/eureka.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *s
safe.Go(func() {
for t := range ticker.C {

log.Debug("Refreshing Provider " + t.String())
log.Debugf("Refreshing Provider %s", t.String())

configuration, err := p.buildConfiguration()
if err != nil {
log.Errorf("Failed to refresh Provider configuration, error: %s", err)
return
continue
}

configurationChan <- types.ConfigMessage{
Expand Down

0 comments on commit 2fde3e8

Please sign in to comment.