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

Co-authored-by: Luc Stepniewski <luc@eclipse-fr.com>
This commit is contained in:
Luc Stepniewski 2023-09-28 23:25:22 +02:00 committed by GitHub
parent 92c20fdae6
commit 4aa0976a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -647,6 +647,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
resp, err := server.GetModelInfo(model)
if err != nil {
fmt.Println("error: couldn't get model")
return err
}
switch args[1] {