fix keepalive for non-interactive mode (#4438)

This commit is contained in:
Patrick Devine 2024-05-14 15:17:04 -07:00 committed by GitHub
parent 0e331c7168
commit c344da4c5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -913,6 +913,7 @@ func generate(cmd *cobra.Command, opts runOptions) error {
System: opts.System, System: opts.System,
Template: opts.Template, Template: opts.Template,
Options: opts.Options, Options: opts.Options,
KeepAlive: opts.KeepAlive,
} }
if err := client.Generate(ctx, &request, fn); err != nil { if err := client.Generate(ctx, &request, fn); err != nil {