mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-26 14:31:50 +02: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:
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/henrygd/beszel/internal/common"
|
||||
"github.com/henrygd/beszel/internal/entities/smart"
|
||||
|
||||
"golang.org/x/exp/slog"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
// HandlerContext provides context for request handlers
|
||||
|
||||
Reference in New Issue
Block a user