mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-23 22:16:18 +01:00
nvml: add rtd3 memory workaround, fix slog imports (#1587)
* NVML: only read memory usage if utilization > 0% to allow rtd3, #1522 * logging: /x/exp/slog -> log/slog everywhere, fixes log instance inconsistencies
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/ebitengine/purego"
|
||||
"golang.org/x/exp/slog"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
func openLibrary(name string) (uintptr, error) {
|
||||
|
||||
Reference in New Issue
Block a user