@@ -1007,7 +1007,7 @@ func setMetricAnyValue(item *metrics.MetricItem, val interface{}) {
10071007func hardwareHealthTimerTask (ctx * zedagentContext , handleChannel chan interface {}) {
10081008 iteration := 0
10091009 log .Functionln ("starting report health check timer task" )
1010- success := publishΗealthChecksReport (ctx , iteration )
1010+ success := publishHealthChecksReport (ctx , iteration )
10111011 retry := ! success
10121012
10131013 // Run a timer for extra safety to send hardwarehealth updates
@@ -1038,7 +1038,7 @@ func hardwareHealthTimerTask(ctx *zedagentContext, handleChannel chan interface{
10381038 case <- ticker .C :
10391039 start := time .Now ()
10401040 iteration ++
1041- success = publishΗealthChecksReport (ctx , iteration ) // update success status
1041+ success = publishHealthChecksReport (ctx , iteration ) // update success status
10421042 ctx .ps .CheckMaxTimeTopic (wdName , "publishHardwareHealth" , start ,
10431043 warningTime , errorTime )
10441044
@@ -1058,16 +1058,16 @@ func hardwareHealthTimerTask(ctx *zedagentContext, handleChannel chan interface{
10581058 }
10591059}
10601060
1061- // publishΗealthChecksReport collects hardware health metrics, currently only for ECC memory
1061+ // publishHealthChecksReport collects hardware health metrics, currently only for ECC memory
10621062// and publishes a health report to the controller. If ECC memory controllers are not present
10631063// or an error occurs during collection, an empty report is sent to indicate the inability to
10641064// gather the information.
10651065//
10661066// Returns:
10671067//
10681068// bool - The result of the sendHardwareHealthProtobuf operation.
1069- func publishΗealthChecksReport (ctx * zedagentContext , iteration int ) bool {
1070- log .Functionf ("publishΗealthChecksReport " )
1069+ func publishHealthChecksReport (ctx * zedagentContext , iteration int ) bool {
1070+ log .Functionf ("publishHealthChecksReport " )
10711071 var ReportHardwareHealth = & hardwarehealth.ZHardwareHealth {}
10721072
10731073 ReportHardwareHealth .DevId = * proto .String (devUUID .String ())
0 commit comments