Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
084e4c78
Unverified
Commit
084e4c78
authored
Sep 20, 2023
by
Michael Yang
Committed by
GitHub
Sep 20, 2023
Browse files
Merge pull request #557 from jmorganca/mxyng/cleanup
fix impossible condition
parents
637f8bc6
58ffa03d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
cmd/cmd.go
cmd/cmd.go
+0
-4
No files found.
cmd/cmd.go
View file @
084e4c78
...
...
@@ -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"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment