diff --git a/cmd/limactl/template.go b/cmd/limactl/template.go index de9cd54fe87..c670086ad7c 100644 --- a/cmd/limactl/template.go +++ b/cmd/limactl/template.go @@ -262,7 +262,6 @@ func templateValidateAction(cmd *cobra.Command, args []string) error { } if err := driverutil.ResolveVMType(ctx, y, filePath); err != nil { logrus.Warnf("failed to resolve VM type for %q: %v", filePath, err) - continue } if err := limayaml.Validate(y, false); err != nil { return fmt.Errorf("failed to validate YAML file %q: %w", arg, err)