Fix timer log message format
This commit is contained in:
parent
7b42ce7070
commit
bea4b8a55d
1 changed files with 1 additions and 1 deletions
|
|
@ -975,7 +975,7 @@ func (lp *LoadPoint) resetPVTimerIfRunning(typ ...string) {
|
|||
|
||||
msg := "pv timer reset"
|
||||
if len(typ) == 1 {
|
||||
msg = fmt.Sprintf("pv %s timer reset", typ)
|
||||
msg = fmt.Sprintf("pv %s timer reset", typ[0])
|
||||
}
|
||||
lp.log.DEBUG.Printf(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue