Commit 7db5bcf7 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

fix `go-staticcheck` warning

parent fa2f095b
...@@ -860,7 +860,7 @@ func Serve(ln net.Listener, allowOrigins []string) error { ...@@ -860,7 +860,7 @@ func Serve(ln net.Listener, allowOrigins []string) error {
if runtime.GOOS == "linux" { if runtime.GOOS == "linux" {
// check compatibility to log warnings // check compatibility to log warnings
if _, err := llm.CheckVRAM(); err != nil { if _, err := llm.CheckVRAM(); err != nil {
log.Printf(err.Error()) log.Print(err.Error())
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment