Unverified Commit df07e4a0 authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

remove redundant filename parameter (#1213)

parent 0b7ade0d
...@@ -132,7 +132,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error { ...@@ -132,7 +132,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
return nil return nil
} }
request := api.CreateRequest{Name: args[0], Path: filename, Modelfile: string(modelfile)} request := api.CreateRequest{Name: args[0], Modelfile: string(modelfile)}
if err := client.Create(context.Background(), &request, fn); err != nil { if err := client.Create(context.Background(), &request, fn); err != nil {
return err return err
} }
......
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