From 7db5bcf73bf7026970e988f56126db8f370f1b11 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Sun, 10 Dec 2023 11:44:27 -0500 Subject: [PATCH] fix `go-staticcheck` warning --- server/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes.go b/server/routes.go index f2214b32..9716c84e 100644 --- a/server/routes.go +++ b/server/routes.go @@ -860,7 +860,7 @@ func Serve(ln net.Listener, allowOrigins []string) error { if runtime.GOOS == "linux" { // check compatibility to log warnings if _, err := llm.CheckVRAM(); err != nil { - log.Printf(err.Error()) + log.Print(err.Error()) } }