Skip to content

Commit

Permalink
guardian: remove logging from cache update (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeykhalil authored May 1, 2020
1 parent afd4801 commit d7adde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/guardian/redis_conf_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,10 @@ func (rs *RedisConfStore) pipelinedFetchConf() fetchConf {
continue
}
if time.Now().UTC().Before(prisoner.Expiry) {
rs.logger.Printf("adding %v to prisoners\n", prisoner.IP.String())
rs.logger.Debugf("adding %v to prisoners\n", prisoner.IP.String())
rs.conf.prisoners.addPrisonerFromStore(prisoner)
} else {
rs.logger.Printf("removing %v from prisoners\n", prisoner.IP.String())
rs.logger.Debugf("removing %v from prisoners\n", prisoner.IP.String())
expiredPrisoners = append(expiredPrisoners, ip)
}
}
Expand Down

0 comments on commit d7adde8

Please sign in to comment.