fix go-staticcheck warning

This commit is contained in:
Jeffrey Morgan 2023-12-10 11:44:27 -05:00
parent fa2f095bd9
commit 7db5bcf73b

View file

@ -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())
}
}