forked from third-party-mirrors/ollama
stop checking for name existence in pull handler (for now)
This commit is contained in:
parent
d1b033c168
commit
91613e5951
@ -540,11 +540,6 @@ func (s *Server) PullHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if err := checkNameExists(name); err != nil {
|
||||
c.AbortWithStatusJSON(http.StatusBadRequest, gin.H{"error": err.Error()})
|
||||
return
|
||||
}
|
||||
|
||||
ch := make(chan any)
|
||||
go func() {
|
||||
defer close(ch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user