mirror of
https://github.com/ollama/ollama.git
synced 2026-09-21 13:55:04 +00:00
fix impossible condition
This commit is contained in:
parent
637f8bc6a5
commit
58ffa03d8b
1 changed files with 0 additions and 4 deletions
|
|
@ -114,10 +114,6 @@ func RunHandler(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
mp := server.ParseModelPath(args[0])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if mp.ProtocolScheme == "http" && !insecure {
|
||||
return fmt.Errorf("insecure protocol http")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue