Merge pull request #1543 from ipfs/fix/warning-msg

Remove warning message about informer metrics
This commit is contained in:
Hector Sanjuan 2022-02-01 14:37:00 +01:00 committed by GitHub
commit 7071f6777b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {