Skip to content

Commit

Permalink
renamed ups system_voltage to sys_voltage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFireMike committed Nov 4, 2020
1 parent d5b2d07 commit 4cd6509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/request/check_ups_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func addCheckUPSPerformanceData(ups device.UPSComponent, r *monitoringplugin.Res
}

if ups.SystemVoltage != nil {
err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("system_voltage", *ups.SystemVoltage, ""))
err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("sys_voltage", *ups.SystemVoltage, ""))
if err != nil {
return err
}
Expand Down

0 comments on commit 4cd6509

Please sign in to comment.