Skip to content

Commit

Permalink
fix: var bmcUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
happyfx committed Dec 5, 2024
1 parent 2993a9a commit f153ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector_bmc.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (c BMCCollector) Collect(result freeipmi.Result, ch chan<- prometheus.Metri
if err != nil {
// This one is not always available.
logger.Debug("Failed to parse bmc-info data", "target", targetName(target.host), "error", err)
systemFirmwareVersion = "N/A"
bmcUrl = "N/A"
}
ch <- prometheus.MustNewConstMetric(
bmcInfoDesc,
Expand Down

0 comments on commit f153ce0

Please sign in to comment.