Commit 58ffa03d authored by Michael Yang's avatar Michael Yang
Browse files

fix impossible condition

parent 637f8bc6
......@@ -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")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment