error window v0.1

error box starts doing something
    start a window for errors to fix
    more status cleanups & housecleaning

    Signed-off-by: Jeff Carr <jcarr@wit.com>

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-07 10:38:17 -06:00
parent 963f9e2155
commit b107cd2b6a
1 changed files with 2 additions and 2 deletions

View File

@ -18,11 +18,11 @@ func (ls *LinuxStatus) Update() {
duration := timeFunction(func () {
linuxLoop()
})
ls.SetSpeed(duration)
ls.setSpeed(duration)
log.Log(INFO, "Update() END")
}
func (ls *LinuxStatus) SetSpeed(duration time.Duration) {
func (ls *LinuxStatus) setSpeed(duration time.Duration) {
s := fmt.Sprint(duration)
if ls.speedActual == nil {
log.Log(WARN, "can't actually warn")