fix: update vsphere info message to debug (#10903)

This message is very verbose and causes a lot of extra messages to get
printed out as-is. Having it can be helpful in debugging when a metric
does not show up, but it is not useful for general usage. This changes
the message to only show up with debug enabled.

Fixes: #10350
This commit is contained in:
Joshua Powers 2022-03-28 09:06:19 -07:00 committed by GitHub
parent 1898c51c67
commit b169b01568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ func (e *Endpoint) chunkify(ctx context.Context, res *resourceKind, now time.Tim
// Determine time of last successful collection
metricName := e.getMetricNameForID(metric.CounterId)
if metricName == "" {
e.log.Infof("Unable to find metric name for id %d. Skipping!", metric.CounterId)
e.log.Debugf("Unable to find metric name for id %d. Skipping!", metric.CounterId)
continue
}
start, ok := e.hwMarks.Get(obj.ref.Value, metricName)