Unverified Commit 4aa0976a authored by Luc Stepniewski's avatar Luc Stepniewski Committed by GitHub
Browse files

Added missing return preventing SIGSEGV because of missing resp (#621)


Co-authored-by: default avatarLuc Stepniewski <luc@eclipse-fr.com>
parent 92c20fda
...@@ -647,6 +647,7 @@ func generateInteractive(cmd *cobra.Command, model string) error { ...@@ -647,6 +647,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
resp, err := server.GetModelInfo(model) resp, err := server.GetModelInfo(model)
if err != nil { if err != nil {
fmt.Println("error: couldn't get model") fmt.Println("error: couldn't get model")
return err
} }
switch args[1] { switch args[1] {
......
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