Fix return value in happy path

This fixes #7.
This commit is contained in:
Conrad Hoffmann 2018-08-03 16:24:49 +02:00
parent 109c7ca99c
commit ab14984e9a
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func (c collector) collectDCMI(ch chan<- prometheus.Metric, creds Credentials) (
prometheus.GaugeValue,
currentPowerConsumption,
)
return 0, nil
return 1, nil
}
func (c collector) collectBmcInfo(ch chan<- prometheus.Metric, creds Credentials) (int, error) {