diff options
| author | Jeff Carr <[email protected]> | 2024-01-07 10:38:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-07 10:38:17 -0600 |
| commit | b107cd2b6a3d03721ad235684273eb5d0d1e2c03 (patch) | |
| tree | 75f255c9180342f7bd4633dae280f2adbe1e2059 | |
| parent | 963f9e2155f7aeb43cb22a2ad84ad7c62093bd74 (diff) | |
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 <[email protected]>
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | linuxstatus/update.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxstatus/update.go b/linuxstatus/update.go index 686d799..b304370 100644 --- a/linuxstatus/update.go +++ b/linuxstatus/update.go @@ -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") |
