mirror of
https://github.com/ollama/ollama.git
synced 2025-04-13 14:19:23 +02:00
Update error.go
This commit is contained in:
parent
4537a89b26
commit
d0769313ed
@ -19,7 +19,6 @@ type Errs struct {
|
||||
Errors []Err `json:"errors"`
|
||||
}
|
||||
|
||||
// Error implements the error interface for RegistryError
|
||||
func (e Errs) Error() string {
|
||||
if len(e.Errors) == 0 {
|
||||
return "unknown registry error"
|
||||
|
Loading…
x
Reference in New Issue
Block a user