Merge pull request #1543 from ipfs/fix/warning-msg
Remove warning message about informer metrics
This commit is contained in:
commit
7071f6777b
|
@ -360,7 +360,6 @@ func (c *Cluster) pushInformerMetrics(ctx context.Context, informer Informer) {
|
|||
minTTL, err := c.sendInformerMetrics(ctx, informer)
|
||||
if minTTL == 0 {
|
||||
minTTL = 30 * time.Second
|
||||
logger.Warningf("informer %s reported a min metric ttl of 0s.", informer.Name())
|
||||
}
|
||||
if err != nil {
|
||||
if (retries % retryWarnMod) == 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user