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…
Reference in a new issue