fix: remove overly verbose info message from cisco mdt (#10959)

This commit is contained in:
Joshua Powers 2022-04-12 07:54:35 -06:00 committed by GitHub
parent b139ee7997
commit dbd1fe734b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -356,8 +356,9 @@ func (c *CiscoTelemetryMDT) handleTelemetry(data []byte) {
}
}
// if the keys and content fields are missing, skip the message as it
// does not have parsable data used by Telegraf
if keys == nil || content == nil {
c.Log.Infof("Message from %s missing keys or content", msg.GetNodeIdStr())
continue
}