mirror of
https://github.com/ollama/ollama.git
synced 2026-04-21 08:15:42 +02:00
staticcheck
This commit is contained in:
@@ -307,7 +307,7 @@ func TestDeleteHandler(t *testing.T) {
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
errPayload := `{"error":"model '%s' not found"}`
|
||||
w.Write([]byte(fmt.Sprintf(errPayload, req.Name)))
|
||||
fmt.Fprintf(w, errPayload, req.Name)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user